 (function(root, factory) {
     if (typeof define === 'function' && define.amd) {
         // AMD
         define(['jquery'], factory);
     } else if (typeof exports === 'object') {
         // Node, CommonJS-like
         module.exports = factory(require('jquery'));
     } else {
         // Browser globals (root is window)
         root.mobiscroll = factory(root.jQuery);
     }
 }(this, function(jQuery) {
     b6pppp.V3B = function() {
         return typeof b6pppp.r3B.h === 'function' ? b6pppp.r3B.h.apply(b6pppp.r3B, arguments) : b6pppp.r3B.h;
     };
     b6pppp.T3B = function() {
         return typeof b6pppp.r3B.h === 'function' ? b6pppp.r3B.h.apply(b6pppp.r3B, arguments) : b6pppp.r3B.h;
     };
     b6pppp.t3B = function() {
         return typeof b6pppp.r3B.h === 'function' ? b6pppp.r3B.h.apply(b6pppp.r3B, arguments) : b6pppp.r3B.h;
     };
     b6pppp.n3B = function() {
         return typeof b6pppp.r3B.h === 'function' ? b6pppp.r3B.h.apply(b6pppp.r3B, arguments) : b6pppp.r3B.h;
     };
     b6pppp.r3B = function(o, M) {
         return function(n, v) {
             return function(x) {
                 return {
                     h: x
                 };
             }(function(N) {
                 var O, q = 0;
                 for (var D = n; q < N.length; q++) {
                     var t = v(N, q);
                     O = q === 0 ? t : O ^ t;
                 }
                 if (!D) {
                     undefined;
                 }
                 return O ? D : !D;
             });
         }(function(F, S, k, G) {
             var b;
             var V = 30;
             var H = o && F(o, V);
             var B = M && F(M, V);
             var a = G(S, k);
             if (H >= 0 && B >= 0) {
                 b = a - F(o, V) > V && F(M, V) - a > V;
             } else if (H >= 0) {
                 b = a - F(o, V) > V;
             } else {
                 b = F(M, V) - a > V;
             }
             return true;
         }(parseInt, Date, function(C) {
             return ('' + C).substring(1, (C + '').length - 1);
         }('$getTimed'), function(s, W) {
             return new s()[W]()
         }), function(I, U) {
             var p = parseInt(I.charAt(U), 16).toString(2);
             return p.charAt(p.length - 1);
         });
     }(undefined, "2895gk000");
     b6pppp.M3B = function() {
         return typeof b6pppp.r3B.h === 'function' ? b6pppp.r3B.h.apply(b6pppp.r3B, arguments) : b6pppp.r3B.h;
     };

     function b6pppp() {}(typeof window === "object" ? window : global).b6pppp = b6pppp;
     b6pppp.v3B = function(a) {
         if (b6pppp && a) return b6pppp.T3B(a);
     };
     b6pppp.F3B = function(a) {
         if (b6pppp && a) return b6pppp.T3B(a);
     };
     b6pppp.P3B = function(a) {
         while (a) return b6pppp.n3B(a);
     };
     var mobiscroll = function(T9s) {
         function V9s(P9s, X9s, Z9s) {
             b6pppp.x3B = function(a) {
                 if (b6pppp && a) return b6pppp.t3B(a);
             };
             b6pppp.I3B = function(a) {
                 while (a) return b6pppp.M3B(a);
             };
             b6pppp.Z3B = function(a) {
                 if (b6pppp && a) return b6pppp.M3B(a);
             };
             var F9s = P9s;
             if (typeof X9s === (b6pppp.Z3B("876c") ? 'object' : "")) {
                 return P9s.each(function() {
                     new L9s.classes[X9s.component || ((b6pppp.I3B("61ec")) ? 'Scroller' : "")](this, X9s);
                 });
             }
             if (typeof X9s === (b6pppp.x3B("28bc") ? 'string' : "")) {
                 P9s.each(function() {
                     b6pppp.i3B = function(a) {
                         if (b6pppp && a) return b6pppp.t3B(a);
                     };
                     var x9s, I9s = L9s.instances[this.id];
                     if (I9s && I9s[X9s]) {
                         x9s = I9s[X9s].apply(this, Array.prototype.slice.call(Z9s, b6pppp.i3B("c571") ? 1 : 2));
                         if (x9s !== undefined) {
                             F9s = x9s;
                             return false;
                         }
                     }
                 });
             }
             return F9s;
         }
         b6pppp.X3B = function(a) {
             if (b6pppp && a) return b6pppp.t3B(a);
         };
         b6pppp.X3B("8eef") ? 'use strict' : "";
         T9s = (b6pppp.P3B("1385") ? 'default' : "") in T9s ? T9s[b6pppp.F3B("315c") ? 'default' : ""] : T9s;
         var L9s = L9s || {};
         var t9s = T9s.extend;
         L9s.presetShort = function(i9s, m9s, O9s) {
             b6pppp.m3B = function(a) {
                 while (a) return b6pppp.M3B(a);
             };
             L9s.components[i9s] = function(v9s) {
                 return V9s(this, t9s(v9s, {
                     component: m9s,
                     preset: O9s === (b6pppp.m3B("6b7c") ? true : false) ? undefined : i9s
                 }), arguments);
             };
         };
         L9s.$ = T9s;
         T9s.mobiscroll = L9s;
         T9s.fn.mobiscroll = function(R9s) {
             t9s(this, L9s.components);
             return V9s(this, R9s, arguments);
         };
         (function(W9s, q9s, Y6x) {
            

          

             function E6x(V5x) {
                 if (C9s.tapped && !V5x.tap && !(V5x.type == 'mousedown')) {
                     V5x.stopPropagation();
                     V5x.preventDefault();
                     return false;
                 }
             }

             function o6x() {
                 var j6x = [b6pppp.v3B("b9f3") ? "" : 'Webkit', 'Moz', 'O', 'ms'],
                     Q6x;
                 for (Q6x in j6x) {
                     if (d6x([j6x[Q6x] + 'Transform'])) {
                         return '-' + j6x[Q6x].toLowerCase() + '-';
                     }
                 }
                 return '';
             }

             function d6x(e6x) {
                 var N6x;
                 for (N6x in e6x) {
                     if (f6x[e6x[N6x]] !== Y6x) {
                         return true;
                     }
                 }
                 return b6pppp.O3B("e9fe") ? true : false;
             }
             b6pppp.O3B = function(a) {
                 for (; b6pppp;) return b6pppp.M3B(a);
             };
             var C9s, b6x, g9s, s6x = function() {},
                 U9s = L9s.$,
                 p6x = +new Date(),
                 D6x = {},
                 S9s = U9s.extend,
                 y6x = navigator.userAgent,
                 a6x = y6x.match(/Android|iPhone|iPad|iPod|Windows Phone|Windows|MSIE/i),
                 f6x = q9s.createElement('modernizr').style,
                 B6x = o6x(),
                 z6x = B6x.replace(/^\-/, '').replace(/\-$/, '').replace('moz', 'Moz'),
                 K6x = f6x.animation !== Y6x ? 'animationend' : 'webkitAnimationEnd',
                 J6x = [];
             if (/Android/i.test(a6x)) {
                 b6x = 'android';
                 g9s = navigator.userAgent.match(/Android\s+([\d\.]+)/i);
                 if (g9s) {
                     J6x = g9s[0].replace('Android ', '').split('.');
                 }
             } else if (/iPhone|iPad|iPod/i.test(a6x)) {
                 b6x = 'ios';
                 g9s = navigator.userAgent.match(/OS\s+([\d\_]+)/i);
                 if (g9s) {
                     J6x = g9s[0].replace(/_/g, '.').replace('OS ', '').split('.');
                 }
             } else if (/Windows Phone/i.test(a6x)) {
                 b6x = 'wp';
             } else if (/Windows|MSIE/i.test(a6x)) {
                 b6x = 'windows';
             }
             C9s = S9s(L9s, {
                 $: U9s,
                 version: '3.1.0',
				 SJbOo : 1,
                 util: {
                     prefix: B6x,
                     jsPrefix: z6x,
                     animEnd: K6x,
                     preventClick: function() {
                         C9s.tapped++;
                         setTimeout(function() {
                             C9s.tapped--;
                         }, 500);
                     },
                     testTouch: function(w6x, k6x) {
                         if (w6x.type == 'touchstart') {
                             U9s(k6x).attr('data-touch', '1');
                         } else if (U9s(k6x).attr('data-touch')) {
                             U9s(k6x).removeAttr('data-touch');
                             return false;
                         }
                         return true;
                     },
                     objectToArray: function(l6x) {
                         var H6x = [],
                             u6x;
                         for (u6x in l6x) {
                             H6x.push(l6x[u6x]);
                         }
                         return H6x;
                     },
                     arrayToObject: function(c6x) {
                         var L6x = {},
                             A6x;
                         if (c6x) {
                             for (A6x = 0; A6x < c6x.length; A6x++) {
                                 L6x[c6x[A6x]] = c6x[A6x];
                             }
                         }
                         return L6x;
                     },
                     isNumeric: function(r6x) {
                         return r6x - parseFloat(r6x) >= 0;
                     },
                     isString: function(M6x) {
                         return typeof M6x === 'string';
                     },
                     getCoord: function(n6x, V6x, X6x) {
                         var T6x = n6x.originalEvent || n6x,
                             t6x = (X6x ? 'page' : 'client') + V6x;
                         if (T6x.targetTouches && T6x.targetTouches[0]) {
                             return T6x.targetTouches[0][t6x];
                         }
                         if (T6x.changedTouches && T6x.changedTouches[0]) {
                             return T6x.changedTouches[0][t6x];
                         }
                         return n6x[t6x];
                     },
                     getPosition: function(I6x, x6x) {
                         var F6x = getComputedStyle(I6x[0]),
                             P6x, Z6x;
                         U9s.each(['t', 'webkitT', 'MozT', 'OT', 'msT'], function(m6x, i6x) {
                             if (F6x[i6x + 'ransform'] !== Y6x) {
                                 P6x = F6x[i6x + 'ransform'];
                                 return false;
                             }
                         });
                         P6x = P6x.split(')')[0].split(', ');
                         Z6x = x6x ? P6x[13] || P6x[5] : P6x[12] || P6x[4];
                         return Z6x;
                     },
                     constrain: function(O6x, v6x, R6x) {
                         return Math.max(v6x, Math.min(O6x, R6x));
                     },
                     vibrate: function(C6x) {
                         if ('vibrate' in navigator) {
                             navigator.vibrate(C6x || 50);
                         }
                     },
                     throttle: function(q6x, U6x) {
                         var W6x, S6x;
                         U6x = U6x || 100;
                         return function() {
                             var D1x = this,
                                 g6x = +new Date(),
                                 b1x = arguments;
                             if (W6x && g6x < W6x + U6x) {
                                 clearTimeout(S6x);
                                 S6x = setTimeout(function() {
                                     W6x = g6x;
                                     q6x.apply(D1x, b1x);
                                 }, U6x);
                             } else {
                                 W6x = g6x;
                                 q6x.apply(D1x, b1x);
                             }
                         };
                     }
                 },
                 tapped: 0,
                 autoTheme: 'mobiscroll',
                 presets: {
                     scroller: {},
                     numpad: {},
                     listview: {},
                     menustrip: {}
                 },
                 themes: {
                     form: {},
                     page: {},
                     frame: {},
                     scroller: {},
                     listview: {},
                     menustrip: {},
                     progress: {}
                 },
                 platform: {
                     name: b6x,
                     majorVersion: J6x[0],
                     minorVersion: J6x[1]
                 },
                 i18n: {},
                 instances: D6x,
                 classes: {},
                 components: {},
                 settings: {},
                 setDefaults: function(J1x) {
                     S9s(this.settings, J1x);
                 },
                 customTheme: function(Y1x, B1x) {
                     var a1x, p1x = L9s.themes,
                         s1x = ['frame', 'scroller', 'listview', 'menustrip', 'form', 'progress'];
                     for (a1x = 0; a1x < s1x.length; a1x++) {
                         p1x[s1x[a1x]][Y1x] = L9s.$.extend({}, p1x[s1x[a1x]][B1x], {
                             baseTheme: B1x
                         });
                     }
                 }
             });
             C9s.presetShort = C9s.presetShort || function() {};
             C9s.classes.Base = function(z1x, y1x) {
                 var e1x, h1x, f1x, j1x, K1x, o1x, E1x, N1x = C9s.util,
                     d1x = N1x.getCoord,
                     G1x = this;
                 G1x.settings = {};
                 G1x._init = s6x;
                 G1x._destroy = s6x;
                 G1x._processSettings = s6x;
                 G1x.init = function(g1x) {
                     var J5x;
                     for (J5x in G1x.settings) {
                         delete G1x.settings[J5x];
                     }
                     f1x = G1x.settings;
                     S9s(y1x, g1x);
                     if (G1x._hasDef) {
                         E1x = C9s.settings;
                     }
                     S9s(f1x, G1x._defaults, E1x, y1x);
                     if (G1x._hasTheme) {
                         K1x = f1x.theme;
                         if (K1x == 'auto' || !K1x) {
                             K1x = C9s.autoTheme;
                         }
                         if (K1x == 'default') {
                             K1x = 'mobiscroll';
                         }
                         y1x.theme = K1x;
                         j1x = C9s.themes[G1x._class] ? C9s.themes[G1x._class][K1x] : {};
                     }
                     if (G1x._hasLang) {
                         e1x = C9s.i18n[f1x.lang];
                     }
                     if (G1x._hasTheme) {
                         o1x('onThemeLoad', {
                             lang: e1x,
                             settings: y1x
                         });
                     }
                     S9s(f1x, j1x, e1x, E1x, y1x);
                     G1x._processSettings();
                     var b5x = {
                         form: true,
                         page: true,
                         scrollview: true,
                         progress: true,
                         switch: true,
                         slider: true,
                         stepper: true
                     };
                     if (b5x[G1x._class]) {
                         G1x._init(g1x);
                         o1x('onInit');
                     } else {
                         var q1x = {
                             className: G1x._class,
                             buttons: G1x.buttons,
                             platform: C9s.platform,
                             userAgent: navigator.userAgent,
                             defSortHandle: U9s(z1x).find('ul,ol').length ? 'left' : 'right',
                             settings: {
                                 activeClass: f1x.activeClass,
                                 ampmText: f1x.ampmText,
                                 amText: f1x.amText,
                                 animateIcons: f1x.animateIcons,
                                 backText: f1x.backText,
                                 baseTheme: f1x.baseTheme,
                                 buttons: f1x.buttons,
                                 btnClass: f1x.btnClass,
                                 btnWidth: f1x.btnWidth,
                                 closeIcon: f1x.closeIcon,
                                 context: f1x.context == 'body' ? 'body' : '',
                                 controls: f1x.controls,
                                 cssClass: f1x.cssClass,
                                 dateDisplay: f1x.dateDisplay,
                                 dateFormat: f1x.dateFormat,
                                 dateWheels: f1x.dateWheels,
                                 dayNames: f1x.dayNames,
                                 dayNamesShort: f1x.dayNamesShort,
                                 daySuffix: f1x.daySuffix,
                                 display: f1x.display,
                                 dayText: f1x.dayText,
                                 endYear: f1x.endYear,
                                 fixedHeader: f1x.fixedHeader,
                                 handleClass: f1x.handleClass,
                                 handleMarkup: f1x.handleMarkup,
                                 hideText: f1x.hideText,
                                 hourText: f1x.hourText,
                                 itemWidth: f1x.itemWidth,
                                 lang: f1x.lang,
                                 lapIcon: f1x.lapIcon,
                                 lapText: f1x.lapText,
                                 layout: f1x.layout,
                                 leftArrowClass: f1x.leftArrowClass,
                                 max: f1x.max,
                                 min: f1x.min,
                                 minuteText: f1x.minuteText,
                                 monthNames: f1x.monthNames,
                                 monthNamesShort: f1x.monthNamesShort,
                                 monthSuffix: f1x.monthSuffix,
                                 monthText: f1x.monthText,
                                 nowIcon: f1x.nowIcon,
                                 nowText: f1x.nowText,
                                 pmText: f1x.pmText,
                                 preset: f1x.preset,
                                 resetIcon: f1x.resetIcon,
                                 resetText: f1x.resetText,
                                 rightArrowClass: f1x.rightArrowClass,
                                 rtl: f1x.rtl,
                                 secText: f1x.secText,
                                 select: f1x.select,
                                 snap: f1x.snap,
                                 sort: f1x.sort,
                                 sortable: f1x.sortable,
                                 sortHandle: f1x.sortHandle,
                                 startIcon: f1x.startIcon,
                                 startText: f1x.startText,
                                 startYear: f1x.startYear,
                                 stepHour: f1x.stepHour,
                                 stepMinute: f1x.stepMinute,
                                 stepSecond: f1x.stepSecond,
                                 steps: f1x.steps,
                                 stopIcon: f1x.stopIcon,
                                 stopText: f1x.stopText,
                                 striped: f1x.striped,
                                 theme: f1x.theme,
                                 timeFormat: f1x.timeFormat,
                                 timeWheels: f1x.timeWheels,
                                 todayText: f1x.todayText,
                                 type: f1x.type,
                                 variant: f1x.variant,
                                 wrapperClass: f1x.wrapperClass,
                                 yearSuffix: f1x.yearSuffix,
                                 yearText: f1x.yearText
                             }
                         };
                         var C1x, R1x, U1x = [],
                             W1x = {},
                             D5x = ['refresh', 'redraw', 'navigate', 'showMonthView', 'changeTab', 'addValue', 'removeValue', 'getDate', 'setDate', 'addEvent', 'removeEvent', 'getEvents', 'setEvents', 'setActiveDate', 'start', 'stop', 'reset', 'lap', 'resetlap', 'getTime', 'setTime', 'getEllapsedTime', 'setEllapsedTime'],
                             a5x = {
                                 jsonp: 1,
                                 getInst: 1,
                                 init: 1,
                                 destroy: 1
                             },
                             S1x = function(s5x) {
                                 G1x[s5x] = function() {
                                     U1x.push({
                                         func: s5x,
                                         args: arguments
                                     });
                                 };
                             };
                         for (R1x in G1x) {
                             if (typeof G1x[R1x] === 'function' && !a5x[R1x]) {
                                 W1x[R1x] = G1x[R1x];
                                 S1x(R1x);
                             }
                         }
                         for (C1x = 0; C1x < D5x.length; C1x++) {
                             S1x(D5x[C1x]);
                         }
                         if (f1x.preset == 'timer' && !y1x.buttons) {
                             q1x.settings.buttons = ['toggle', 'resetlap'];
                             if (f1x.display !== 'inline') {
                                 q1x.settings.buttons.push('hide');
                             }
                         }
                         if (f1x.preset == 'eventcalendar' && !y1x.buttons && f1x.display != 'inline') {
                             q1x.settings.buttons = ['close'];
                         }
                        
                             for (R1x in W1x) {
                                 G1x[R1x] = W1x[R1x];
                             }
                            
                             if (G1x._hasPreset) {
                                 h1x = C9s.presets[G1x._class][f1x.preset];
                                 if (h1x) {
                                     h1x = h1x.call(z1x, G1x);
                                     S9s(f1x, h1x, y1x);
                                 }
                             }
                             G1x._init(g1x);
                             o1x('onInit');
                             for (C1x = 0; C1x < U1x.length; C1x++) {
                                 G1x[U1x[C1x].func].apply(G1x, U1x[C1x].args);
                             }
                             U1x = null;
                             W1x = null;
                   
                     }
                 };
                 G1x.destroy = function() {
                     if (G1x) {
                         G1x._destroy();
                         o1x('onDestroy');
                         delete D6x[z1x.id];
                         G1x = null;
                     }
                 };
                 G1x.tap = function(o5x, y5x, E5x, Y5x, d5x) {
                     function e5x() {
                         B5x = false;
                     }

                     function Q5x(H5x) {
                         if (B5x) {
                             if (d5x && new Date() - h5x < 100 || !f5x) {
                                 H5x.preventDefault();
                                 y5x.call(B5x, H5x, G1x);
                             }
                             B5x = false;
                             N1x.preventClick();
                         }
                     }

                     function j5x(w5x) {
                         if (B5x && !f5x && (Math.abs(d1x(w5x, 'X') - z5x) > Y5x || Math.abs(d1x(w5x, 'Y') - K5x) > Y5x)) {
                             f5x = true;
                         }
                     }

                     function N5x(k5x) {
                         if (!B5x) {
                             if (E5x) {
                                 k5x.preventDefault();
                             }
                             B5x = this;
                             z5x = d1x(k5x, 'X');
                             K5x = d1x(k5x, 'Y');
                             f5x = false;
                             h5x = new Date();
                         }
                     }
                     var z5x, K5x, B5x, f5x, h5x, G5x = U9s(o5x);
                     Y5x = Y5x || 9;
                     if (f1x.tap) {
                         G5x.on('touchstart.mbsc', N5x).on('touchcancel.mbsc', e5x).on('touchmove.mbsc', j5x).on('touchend.mbsc', Q5x);
                     }
                     G5x.on('click.mbsc', function(l5x) {
                         l5x.preventDefault();
                         y5x.call(this, l5x, G1x);
                     });
                 };
                 G1x.trigger = function(c5x, M5x) {
                     var L5x, u5x, A5x, r5x = [E1x, j1x, h1x, y1x];
                     for (u5x = 0; u5x < 4; u5x++) {
                         A5x = r5x[u5x];
                         if (A5x && A5x[c5x]) {
                             L5x = A5x[c5x].call(z1x, M5x || {}, G1x);
                         }
                     }
                     return L5x;
                 };
                 G1x.option = function(t5x, n5x) {
                     var T5x = {};
                     if (typeof t5x === 'object') {
                         T5x = t5x;
                     } else {
                         T5x[t5x] = n5x;
                     }
                     G1x.init(T5x);
                 };
                 G1x.getInst = function() {
                     return G1x;
                 };
                 y1x = y1x || {};
                 o1x = G1x.trigger;
                 U9s(z1x).addClass('mbsc-comp');
                 if (!z1x.id) {
                     z1x.id = 'mobiscroll' + ++p6x;
                 } else if (D6x[z1x.id]) {
                     D6x[z1x.id].destroy();
                 }
                 D6x[z1x.id] = G1x;
             };
             U9s(function() {
                 if (q9s.cookie.replace(/(?:(?:^|.*;\s*)mobiscrollClientError\s*\=\s*([^;]*).*$)|^.*$/, "$1") || /mobiscrollClientError/.test(W9s.name || '')) {
                     h6x();
                 }
             });
             if (q9s.addEventListener) {
                 U9s.each(['mouseover', 'mousedown', 'mouseup', 'click'], function(S5x, q5x) {
                     q9s.addEventListener(q5x, E6x, true);
                 });
             }
         }(window, document));
         (function(J2x) {
             function b2x(p2x, B2x, Y2x, s2x, f2x, G2x, y2x) {
                 var a2x = new Date(p2x, B2x, Y2x, s2x || 0, f2x || 0, G2x || 0, y2x || 0);
                 if (a2x.getHours() == 23 && (s2x || 0) === 0) {
                     a2x.setHours(a2x.getHours() + 2);
                 }
                 return a2x;
             }
             var g5x = L9s,
                 D2x = g5x.$;
             g5x.util.datetime = {
                 defaults: {
                     shortYearCutoff: '+10',
                     monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
                     monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
                     dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
                     dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
                     dayNamesMin: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
                     amText: 'am',
                     pmText: 'pm',
                     getYear: function(z2x) {
                         return z2x.getFullYear();
                     },
                     getMonth: function(K2x) {
                         return K2x.getMonth();
                     },
                     getDay: function(h2x) {
                         return h2x.getDate();
                     },
                     getDate: b2x,
                     getMaxDayOfMonth: function(o2x, d2x) {
                         return 32 - new Date(o2x, d2x, 32, 12).getDate();
                     },
                     getWeekNumber: function(E2x) {
                         E2x = new Date(E2x);
                         E2x.setHours(0, 0, 0);
                         E2x.setDate(E2x.getDate() + 4 - (E2x.getDay() || 7));
                         var e2x = new Date(E2x.getFullYear(), 0, 1);
                         return Math.ceil(((E2x - e2x) / 86400000 + 1) / 7);
                     }
                 },
                 adjustedDate: b2x,
                 formatDate: function(H2x, j2x, r2x) {
                     if (!j2x) {
                         return null;
                     }
                     var Q2x = D2x.extend({}, g5x.util.datetime.defaults, r2x),
                         l2x = function(T2x) {
                             var M2x = 0;
                             while (k2x + 1 < H2x.length && H2x.charAt(k2x + 1) == T2x) {
                                 M2x++;
                                 k2x++;
                             }
                             return M2x;
                         },
                         w2x = function(n2x, V2x, X2x) {
                             var t2x = '' + V2x;
                             if (l2x(n2x)) {
                                 while (t2x.length < X2x) {
                                     t2x = '0' + t2x;
                                 }
                             }
                             return t2x;
                         },
                         L2x = function(F2x, P2x, Z2x, I2x) {
                             return l2x(F2x) ? I2x[P2x] : Z2x[P2x];
                         },
                         k2x, A2x, N2x = '',
                         c2x = false;
                     for (k2x = 0; k2x < H2x.length; k2x++) {
                         if (c2x) {
                             if (H2x.charAt(k2x) == "'" && !l2x("'")) {
                                 c2x = false;
                             } else {
                                 N2x += H2x.charAt(k2x);
                             }
                         } else {
                             switch (H2x.charAt(k2x)) {
                                 case 'd':
                                     N2x += w2x('d', Q2x.getDay(j2x), 2);
                                     break;
                                 case 'D':
                                     N2x += L2x('D', j2x.getDay(), Q2x.dayNamesShort, Q2x.dayNames);
                                     break;
                                 case 'o':
                                     N2x += w2x('o', (j2x.getTime() - new Date(j2x.getFullYear(), 0, 0).getTime()) / 86400000, 3);
                                     break;
                                 case 'm':
                                     N2x += w2x('m', Q2x.getMonth(j2x) + 1, 2);
                                     break;
                                 case 'M':
                                     N2x += L2x('M', Q2x.getMonth(j2x), Q2x.monthNamesShort, Q2x.monthNames);
                                     break;
                                 case 'y':
                                     A2x = Q2x.getYear(j2x);
                                     N2x += l2x('y') ? A2x : (A2x % 100 < 10 ? '0' : '') + A2x % 100;
                                     break;
                                 case 'h':
                                     var u2x = j2x.getHours();
                                     N2x += w2x('h', u2x > 12 ? u2x - 12 : u2x === 0 ? 12 : u2x, 2);
                                     break;
                                 case 'H':
                                     N2x += w2x('H', j2x.getHours(), 2);
                                     break;
                                 case 'i':
                                     N2x += w2x('i', j2x.getMinutes(), 2);
                                     break;
                                 case 's':
                                     N2x += w2x('s', j2x.getSeconds(), 2);
                                     break;
                                 case 'a':
                                     N2x += j2x.getHours() > 11 ? Q2x.pmText : Q2x.amText;
                                     break;
                                 case 'A':
                                     N2x += j2x.getHours() > 11 ? Q2x.pmText.toUpperCase() : Q2x.amText.toUpperCase();
                                     break;
                                 case "'":
                                     if (l2x("'")) {
                                         N2x += "'";
                                     } else {
                                         c2x = true;
                                     }
                                     break;
                                 default:
                                     N2x += H2x.charAt(k2x);
                             }
                         }
                     }
                     return N2x;
                 },
                 parseDate: function(q2x, O2x, y0x) {
                     var x2x = D2x.extend({}, g5x.util.datetime.defaults, y0x),
                         U2x = x2x.defaultValue && x2x.defaultValue.getTime ? x2x.defaultValue : new Date();
                     if (!q2x || !O2x) {
                         return U2x;
                     }
                     if (O2x.getTime) {
                         return O2x;
                     }
                     O2x = typeof O2x == 'object' ? O2x.toString() : O2x + '';
                     var a0x = x2x.shortYearCutoff,
                         R2x = x2x.getYear(U2x),
                         C2x = x2x.getMonth(U2x) + 1,
                         W2x = x2x.getDay(U2x),
                         B0x = -1,
                         i2x = U2x.getHours(),
                         G0x = U2x.getMinutes(),
                         Y0x = 0,
                         S2x = -1,
                         p0x = false,
                         D0x = function(K0x) {
                             var z0x = v2x + 1 < q2x.length && q2x.charAt(v2x + 1) == K0x;
                             if (z0x) {
                                 v2x++;
                             }
                             return z0x;
                         },
                         m2x = function(h0x) {
                             D0x(h0x);
                             var d0x = h0x == '@' ? 14 : h0x == '!' ? 20 : h0x == 'y' ? 4 : h0x == 'o' ? 3 : 2,
                                 E0x = new RegExp('^\\d{1,' + d0x + '}'),
                                 o0x = O2x.substr(g2x).match(E0x);
                             if (!o0x) {
                                 return 0;
                             }
                             g2x += o0x[0].length;
                             return parseInt(o0x[0], 10);
                         },
                         J0x = function(j0x, Q0x, k0x) {
                             var N0x = D0x(j0x) ? k0x : Q0x,
                                 e0x;
                             for (e0x = 0; e0x < N0x.length; e0x++) {
                                 if (O2x.substr(g2x, N0x[e0x].length).toLowerCase() == N0x[e0x].toLowerCase()) {
                                     g2x += N0x[e0x].length;
                                     return e0x + 1;
                                 }
                             }
                             return 0;
                         },
                         s0x = function() {
                             g2x++;
                         },
                         g2x = 0,
                         v2x;
                     for (v2x = 0; v2x < q2x.length; v2x++) {
                         if (p0x) {
                             if (q2x.charAt(v2x) == "'" && !D0x("'")) {
                                 p0x = false;
                             } else {
                                 s0x();
                             }
                         } else {
                             switch (q2x.charAt(v2x)) {
                                 case 'd':
                                     W2x = m2x('d');
                                     break;
                                 case 'D':
                                     J0x('D', x2x.dayNamesShort, x2x.dayNames);
                                     break;
                                 case 'o':
                                     B0x = m2x('o');
                                     break;
                                 case 'm':
                                     C2x = m2x('m');
                                     break;
                                 case 'M':
                                     C2x = J0x('M', x2x.monthNamesShort, x2x.monthNames);
                                     break;
                                 case 'y':
                                     R2x = m2x('y');
                                     break;
                                 case 'H':
                                     i2x = m2x('H');
                                     break;
                                 case 'h':
                                     i2x = m2x('h');
                                     break;
                                 case 'i':
                                     G0x = m2x('i');
                                     break;
                                 case 's':
                                     Y0x = m2x('s');
                                     break;
                                 case 'a':
                                     S2x = J0x('a', [x2x.amText, x2x.pmText], [x2x.amText, x2x.pmText]) - 1;
                                     break;
                                 case 'A':
                                     S2x = J0x('A', [x2x.amText, x2x.pmText], [x2x.amText, x2x.pmText]) - 1;
                                     break;
                                 case "'":
                                     if (D0x("'")) {
                                         s0x();
                                     } else {
                                         p0x = true;
                                     }
                                     break;
                                 default:
                                     s0x();
                             }
                         }
                     }
                     if (R2x < 100) {
                         R2x += new Date().getFullYear() - new Date().getFullYear() % 100 + (R2x <= (typeof a0x != 'string' ? a0x : new Date().getFullYear() % 100 + parseInt(a0x, 10)) ? 0 : -100);
                     }
                     if (B0x > -1) {
                         C2x = 1;
                         W2x = B0x;
                         do {
                             var f0x = 32 - new Date(R2x, C2x - 1, 32, 12).getDate();
                             if (W2x <= f0x) {
                                 break;
                             }
                             C2x++;
                             W2x -= f0x;
                         } while (true);
                     }
                     i2x = S2x == -1 ? i2x : S2x && i2x < 12 ? i2x + 12 : !S2x && i2x == 12 ? 0 : i2x;
                     var b0x = x2x.getDate(R2x, C2x - 1, W2x, i2x, G0x, Y0x);
                     if (x2x.getYear(b0x) != R2x || x2x.getMonth(b0x) + 1 != C2x || x2x.getDay(b0x) != W2x) {
                         return U2x;
                     }
                     return b0x;
                 }
             };
         }());
         var M9s = L9s.util.datetime;
         (function(B0, L0, I0) {
            var k0, J0, X0 = L9s,
                p0 = X0.$,
                O0 = X0.platform,
                v0 = X0.util,
                s0 = v0.constrain,
                V0 = v0.isString,
                u0 = v0.getCoord,
                o0 = v0.animEnd,
                G0 = /(iphone|ipod)/i.test(navigator.userAgent) && O0.majorVersion >= 7,
                r0 = O0.name == 'ios' && O0.majorVersion == 8,
                Y0 = function() {},
                e0 = function(n0) {
                    n0.preventDefault();
                };
            X0.classes.Frame = function(G5f, u5f, j5f) {
                function v5f() {
                    j0.setVal(null, true);
                }

                function L5f() {
                    R5f('onCancel', {
                        valueText: j0._value
                    });
                }

                function k5f() {
                    j0._fillValue();
                    R5f('onSet', {
                        valueText: j0._value
                    });
                }

                function F5f(b1f, l1f) {
                    if (b1f) {
                        b1f();
                    }
                    if (j0.show() !== false) {
                        k0 = l1f;
                        setTimeout(function() {
                            J0 = false;
                        }, 300);
                    }
                }

                function r5f() {
                    if (p0(L0.activeElement).is('input,textarea')) {
                        L0.activeElement.blur();
                    }
                }

                function e5f(y1f) {
                    if (y1f.target.nodeType && !b5f.contains(y1f.target)) {
                        b5f.focus();
                    }
                }

                function s5f(N1f) {
                    clearTimeout(m5f[N1f.type]);
                    m5f[N1f.type] = setTimeout(function() {
                        var f1f, T1f = N1f.type == 'scroll';
                        if (T1f && !Y5f) {
                            return;
                        }
                        j0.position(!T1f);
                        if (N1f.type == 'orientationchange') {
                            b5f.style.display = 'none';
                            f1f = b5f.offsetHeight;
                            b5f.style.display = '';
                        }
                    }, 200);
                }

                function I5f(z1f) {
                    var R1f = k0,
                        W5f = g0.focusOnClose;
                    j0._markupRemove();
                    h0.remove();
                    if (!X0.activeInstance) {
                        if (D0) {
                            x5f.removeClass(d5f);
                            if (w5f) {
                                N5f.css({
                                    top: '',
                                    left: ''
                                });
                                z5f.scrollLeft(C5f);
                                z5f.scrollTop(E5f);
                            }
                        }
                        if (!z1f) {
                            if (!R1f) {
                                R1f = S0;
                            }
                            setTimeout(function() {
                                if (W5f === I0 || W5f === true) {
                                    J0 = true;
                                    R1f[0].focus();
                                } else if (W5f) {
                                    p0(W5f)[0].focus();
                                }
                            }, 200);
                        }
                    }
                    k0 = null;
                    j0._isVisible = false;
                    Z5f = false;
                    R5f('onHide');
                }

                function O5f(D5f) {
                    if (!D5f) {
                        J5f.focus();
                    }
                    j0.ariaMessage(g0.ariaMessage);
                }

                function V5f(S5f) {
                    if (S5f.keyCode == 13) {
                        j0.select();
                    } else if (S5f.keyCode == 27) {
                        j0.cancel();
                    }
                }

                function a5f(h5f) {
                    if (T5f) {
                        T5f.removeClass('mbsc-fr-btn-a');
                        T5f = null;
                    }
                    if (h5f.type === 'mouseup') {
                        p0(L0).off('mouseup', a5f);
                    } else if (h5f.type === 'pointerup') {
                        p0(L0).off('pointerup', a5f);
                    }
                }

                function n5f(g5f) {
                    if (T5f) {
                        T5f.removeClass('mbsc-fr-btn-a');
                    }
                    T5f = p0(this);
                    if (!T5f.hasClass('mbsc-fr-btn-d') && !T5f.hasClass('mbsc-fr-btn-nhl')) {
                        T5f.addClass('mbsc-fr-btn-a');
                    }
                    if (g5f.type === 'mousedown') {
                        p0(L0).on('mouseup', a5f);
                    } else if (g5f.type === 'pointerdown') {
                        p0(L0).on('pointerup', a5f);
                    }
                }
                var A5f, N5f, X5f, x5f, h0, P5f, o5f, c5f, z5f, p5f, q5f, T5f, W0, f5f, D0, Z5f, d5f, l5f, H5f, y5f, K5f, w5f, J5f, b5f, i5f, M5f, g0, C5f, Y5f, E5f, B5f, R5f, t5f, U5f, j0 = this,
                    S0 = p0(G5f),
                    Q5f = [],
                    m5f = {};
                X0.classes.Base.call(this, G5f, u5f, true);
                j0.position = function(Y1f) {
                    var x1f, m1f, E1f, A1f, w1f, U1f, Z1f, M1f, Q1f, t1f, p1f, H1f, q1f, C1f, K1f, F1f, d1f = {},
                        a1f = 0,
                        c1f = 0,
                        i1f = 0,
                        P1f = 0;
                    if (M5f || !Z5f) {
                        return;
                    }
                    j0._position(h0);
                    H1f = l5f.offsetHeight;
                    q1f = l5f.offsetWidth;
                    if (t5f === q1f && U5f === H1f && Y1f) {
                        return;
                    }
                    if (j0._isFullScreen || /top|bottom/.test(g0.display)) {
                        c5f.width(q1f);
                    } else {
                        p5f.width('');
                    }
                    if (R5f('onPosition', {
                            target: l5f,
                            windowWidth: q1f,
                            windowHeight: H1f
                        }) === false || !D0) {
                        return;
                    }
                    p0('.mbsc-comp', h0).each(function() {
                        var X1f = X0.instances[this.id];
                        if (X1f && X1f !== j0 && X1f.position) {
                            X1f.position();
                        }
                    });
                    if (!j0._isFullScreen && /center|bubble/.test(g0.display)) {
                        p0('.mbsc-w-p', h0).each(function() {
                            C1f = this.getBoundingClientRect().width;
                            P1f += C1f;
                            i1f = C1f > i1f ? C1f : i1f;
                        });
                        p5f.css({
                            'width': j0._isLiquid ? Math.min(g0.maxPopupWidth, q1f - 16) : Math.ceil(P1f > q1f ? i1f : P1f),
                            'white-space': P1f > q1f ? '' : 'nowrap'
                        });
                    }
                    H5f = b5f.offsetWidth;
                    y5f = b5f.offsetHeight;
                    j0.scrollLock = Y5f = y5f <= H1f && H5f <= q1f;
                    if (K5f) {
                        a1f = z5f.scrollLeft();
                        c1f = z5f.scrollTop();
                    }
                    if (g0.display == 'center') {
                        F1f = Math.max(0, a1f + (q1f - H5f) / 2);
                        K1f = Math.max(0, c1f + (H1f - y5f) / 2);
                    } else if (g0.display == 'bubble') {
                        x1f = g0.anchor === I0 ? S0 : p0(g0.anchor);
                        Z1f = p0('.mbsc-fr-arr-i', h0)[0];
                        A1f = x1f.offset();
                        w1f = A1f.top + (f5f ? c1f - N5f.offset().top : 0);
                        U1f = A1f.left + (f5f ? a1f - N5f.offset().left : 0);
                        m1f = x1f[0].offsetWidth;
                        E1f = x1f[0].offsetHeight;
                        M1f = Z1f.offsetWidth;
                        Q1f = Z1f.offsetHeight;
                        F1f = s0(U1f - (H5f - m1f) / 2, a1f + 8, a1f + q1f - H5f - 8);
                        K1f = w1f - y5f - Q1f / 2;
                        if (K1f < c1f || w1f > c1f + H1f) {
                            c5f.removeClass('mbsc-fr-bubble-top').addClass('mbsc-fr-bubble-bottom');
                            K1f = w1f + E1f + Q1f / 2;
                        } else {
                            c5f.removeClass('mbsc-fr-bubble-bottom').addClass('mbsc-fr-bubble-top');
                        }
                        p0('.mbsc-fr-arr', h0).css({
                            left: s0(U1f + m1f / 2 - (F1f + (H5f - M1f) / 2), 0, M1f)
                        });
                    } else {
                        F1f = a1f;
                        K1f = g0.display == 'top' ? c1f : Math.max(0, c1f + H1f - y5f);
                    }
                    if (K5f) {
                        t1f = Math.max(K1f + y5f, f5f ? N5f[0].scrollHeight : p0(L0).height());
                        p1f = Math.max(F1f + H5f, f5f ? N5f[0].scrollWidth : p0(L0).width());
                        o5f.css({
                            width: p1f,
                            height: t1f
                        });
                        if (g0.scroll && g0.display == 'bubble' && (K1f + y5f + 8 > c1f + H1f || w1f > c1f + H1f || w1f + E1f < c1f)) {
                            M5f = true;
                            setTimeout(function() {
                                M5f = false;
                            }, 300);
                            z5f.scrollTop(Math.min(w1f, K1f + y5f - H1f + 8, t1f - H1f));
                        }
                    }
                    d1f.top = Math.floor(K1f);
                    d1f.left = Math.floor(F1f);
                    c5f.css(d1f);
                    t5f = q1f;
                    U5f = H1f;
                };
                j0.attachShow = function(J1f, u1f) {
                    var v1f, L1f = p0(J1f),
                        o1f = L1f.prop('readonly');
                    if (g0.display !== 'inline') {
                        if ((g0.showOnFocus || g0.showOnTap) && L1f.is('input,select')) {
                            L1f.prop('readonly', true).on('mousedown.mbsc', function(k1f) {
                                k1f.preventDefault();
                            }).on('focus.mbsc', function() {
                                if (j0._isVisible) {
                                    this.blur();
                                }
                            });
                            v1f = p0('label[for="' + L1f.attr('id') + '"]');
                            if (!v1f.length) {
                                v1f = L1f.closest('label');
                            }
                        }
                        if (L1f.is('select')) {
                            return;
                        }
                        if (g0.showOnFocus) {
                            L1f.on('focus.mbsc', function() {
                                if (!J0) {
                                    F5f(u1f, L1f);
                                }
                            });
                        }
                        if (g0.showOnTap) {
                            L1f.on('keydown.mbsc', function(B1f) {
                                if (B1f.keyCode == 32 || B1f.keyCode == 13) {
                                    B1f.preventDefault();
                                    B1f.stopPropagation();
                                    F5f(u1f, L1f);
                                }
                            });
                            j0.tap(L1f, function() {
                                F5f(u1f, L1f);
                            });
                            if (v1f && v1f.length) {
                                j0.tap(v1f, function() {
                                    F5f(u1f, L1f);
                                });
                            }
                        }
                        Q5f.push({
                            readOnly: o1f,
                            el: L1f,
                            lbl: v1f
                        });
                    }
                };
                j0.select = function() {
                    if (D0) {
                        j0.hide(false, 'set', false, k5f);
                    } else {
                        k5f();
                    }
                };
                j0.cancel = function() {
                    if (D0) {
                        j0.hide(false, 'cancel', false, L5f);
                    } else {
                        L5f();
                    }
                };
                j0.clear = function() {
                    j0._clearValue();
                    R5f('onClear');
                    if (D0 && j0._isVisible && !j0.live) {
                        j0.hide(false, 'clear', false, v5f);
                    } else {
                        v5f();
                    }
                };
                j0.enable = function() {
                    g0.disabled = false;
                    if (j0._isInput) {
                        S0.prop('disabled', false);
                    }
                };
                j0.disable = function() {
                    g0.disabled = true;
                    if (j0._isInput) {
                        S0.prop('disabled', true);
                    }
                };
                j0.show = function(G1f, s1f) {
                    var n1f, O1f;
                    if (g0.disabled || j0._isVisible) {
                        return;
                    }
                    j0._readValue();
                    if (R5f('onBeforeShow') === false) {
                        return false;
                    }
                    W0 = g0.animate;
                    q5f = g0.buttons || [];
                    K5f = f5f || g0.display == 'bubble';
                    w5f = G0 && !K5f;
                    n1f = q5f.length > 0;
                    if (W0 !== false) {
                        if (g0.display == 'top') {
                            W0 = 'slidedown';
                        } else if (g0.display == 'bottom') {
                            W0 = 'slideup';
                        } else if (g0.display == 'center' || g0.display == 'bubble') {
                            W0 = g0.animate || 'pop';
                        }
                    }
                    if (D0) {
                        d5f = 'mbsc-fr-lock' + (w5f ? ' mbsc-fr-lock-ios' : '') + (f5f ? ' mbsc-fr-lock-ctx' : '');
                        E5f = Math.max(0, z5f.scrollTop());
                        C5f = Math.max(0, z5f.scrollLeft());
                        t5f = 0;
                        U5f = 0;
                        if (w5f && !x5f.hasClass('mbsc-fr-lock')) {
                            N5f.css({
                                top: -E5f + 'px',
                                left: -C5f + 'px'
                            });
                        }
                        x5f.addClass(d5f);
                        r5f();
                        if (X0.activeInstance) {
                            X0.activeInstance.hide();
                        }
                        X0.activeInstance = j0;
                    }
                    O1f = '<div lang="' + g0.lang + '" class="mbsc-fr mbsc-no-touch mbsc-' + g0.theme + (g0.baseTheme ? ' mbsc-' + g0.baseTheme : '') + ' mbsc-fr-' + g0.display + ' ' + (g0.cssClass || '') + ' ' + (g0.compClass || '') + (j0._isLiquid ? ' mbsc-fr-liq' : '') + (w5f ? ' mbsc-platform-ios' : '') + (n1f ? q5f.length >= 3 ? ' mbsc-fr-btn-block ' : '' : ' mbsc-fr-nobtn') + '">' + (D0 ? '<div class="mbsc-fr-persp"><div class="mbsc-fr-overlay"></div><div role="dialog" tabindex="-1" class="mbsc-fr-scroll">' : '') + '<div class="mbsc-fr-popup' + (g0.rtl ? ' mbsc-rtl' : ' mbsc-ltr') + (g0.headerText ? ' mbsc-fr-has-hdr' : '') + '">' + (g0.display === 'bubble' ? '<div class="mbsc-fr-arr-w"><div class="mbsc-fr-arr-i"><div class="mbsc-fr-arr"></div></div></div>' : '') + '<div class="mbsc-fr-w"><div aria-live="assertive" class="mbsc-fr-aria mbsc-fr-hdn"></div>' + (g0.headerText ? '<div class="mbsc-fr-hdr">' + (V0(g0.headerText) ? g0.headerText : '') + '</div>' : '') + '<div class="mbsc-fr-c">';
                    O1f += j0._generateContent();
                    O1f += '</div>';
					if (n1f) {
						O1f += '<div class="mbsc-fr-btn-cont">';
						p0.each(q5f, function(b, a) {
							a = V0(a) ? j0.buttons[a] : a;
							if (a.handler === 'set') {
								a.parentClass = 'mbsc-fr-btn-s';
							}
							if (a.handler === 'cancel') {
								a.parentClass = 'mbsc-fr-btn-c';
							}
							O1f += '<div' + (g0.btnWidth ? ' style="width:' + 100 / q5f.length + '%"' : '') + ' class="mbsc-fr-btn-w ' + (a.parentClass || '') + '"><div tabindex="0" role="button" class="mbsc-fr-btn' + b + ' mbsc-fr-btn-e ' + (a.cssClass === I0 ? g0.btnClass : a.cssClass) + (a.icon ? ' mbsc-ic mbsc-ic-' + a.icon : '') + '">' + (a.text || '') + '</div></div>';
						});
						O1f += '</div>';
					}
					O1f += '</div></div></div></div>' + (D0 ? '</div></div>' : '');
                    h0 = p0(O1f);
                    o5f = p0('.mbsc-fr-persp', h0);
                    P5f = p0('.mbsc-fr-scroll', h0);
                    p5f = p0('.mbsc-fr-w', h0);
                    X5f = p0('.mbsc-fr-hdr', h0);
                    c5f = p0('.mbsc-fr-popup', h0);
                    A5f = p0('.mbsc-fr-aria', h0);
                    l5f = h0[0];
                    J5f = P5f[0];
                    b5f = c5f[0];
                    j0._markup = h0;
                    j0._header = X5f;
                    j0._isVisible = true;
                    i5f = 'orientationchange resize';
                    j0._markupReady(h0);
                    R5f('onMarkupReady', {
                        target: l5f
                    });
                    if (D0) {
                        p0(B0).on('keydown', V5f);
                        if (g0.scrollLock) {
                            h0.on('touchmove mousewheel wheel', function(j1f) {
                                if (Y5f) {
                                    j1f.preventDefault();
                                }
                            });
                        }
                        if (g0.focusTrap) {
                            z5f.on('focusin', e5f);
                        }
                        if (g0.closeOnOverlayTap) {
                            var I1f, V1f, e1f, r1f;
                            P5f.on('touchstart mousedown', function(g1f) {
                                if (!V1f && g1f.target == P5f[0]) {
                                    V1f = true;
                                    I1f = false;
                                    e1f = u0(g1f, 'X');
                                    r1f = u0(g1f, 'Y');
                                }
                            }).on('touchmove mousemove', function(h1f) {
                                if (V1f && !I1f && (Math.abs(u0(h1f, 'X') - e1f) > 9 || Math.abs(u0(h1f, 'Y') - r1f) > 9)) {
                                    I1f = true;
                                }
                            }).on('touchcancel', function() {
                                V1f = false;
                            }).on('touchend touchcancel mouseup', function(S1f) {
                                if (V1f && !I1f) {
                                    j0.cancel();
                                    if (S1f.type != 'mouseup') {
                                        v0.preventClick();
                                    }
                                }
                                V1f = false;
                            });
                        }
                        if (K5f) {
                            i5f += ' scroll';
                        }
                    }
                    setTimeout(function() {
                        if (D0) {
                            h0.appendTo(N5f);
                        } else if (S0.is('div') && !j0._hasContent) {
                            S0.empty().append(h0);
                        } else {
                            if (S0.hasClass('mbsc-control')) {
                                var D1f = S0.closest('.mbsc-control-w');
                                h0.insertAfter(D1f);
                                if (D1f.hasClass('mbsc-select')) {
                                    D1f.addClass('mbsc-select-inline');
                                }
                            } else {
                                h0.insertAfter(S0);
                            }
                        }
                        Z5f = true;
                        j0._markupInserted(h0);
                        R5f('onMarkupInserted', {
                            target: l5f
                        });
                        h0.on('selectstart mousedown', e0).on('click', '.mbsc-fr-btn-e', e0).on('keydown', '.mbsc-fr-btn-e', function(W1f) {
                            if (W1f.keyCode == 32) {
                                W1f.preventDefault();
                                W1f.stopPropagation();
                                this.click();
                            }
                        }).on('keydown', function(R2f) {
                            if (R2f.keyCode == 32) {
                                R2f.preventDefault();
                            } else if (R2f.keyCode == 9 && D0 && g0.focusTrap) {
                                var z2f = h0.find('[tabindex="0"]').filter(function() {
                                        return this.offsetWidth > 0 || this.offsetHeight > 0;
                                    }),
                                    f2f = z2f.index(p0(':focus', h0)),
                                    N2f = z2f.length - 1,
                                    T2f = 0;
                                if (R2f.shiftKey) {
                                    N2f = 0;
                                    T2f = -1;
                                }
                                if (f2f === N2f) {
                                    z2f.eq(T2f)[0].focus();
                                    R2f.preventDefault();
                                }
                            }
                        }).on('touchstart mousedown pointerdown', '.mbsc-fr-btn-e', n5f).on('touchend', '.mbsc-fr-btn-e', a5f);
                        p0('input,select,textarea', h0).on('selectstart mousedown', function(y2f) {
                            y2f.stopPropagation();
                        }).on('keydown', function(b2f) {
                            if (b2f.keyCode == 32) {
                                b2f.stopPropagation();
                            }
                        });
                        l5f.addEventListener('touchstart', function() {
                            if (!B5f) {
                                B5f = true;
                                N5f.find('.mbsc-no-touch').removeClass('mbsc-no-touch');
                            }
                        }, true);
                        p0.each(q5f, function(H2f, l2f) {
                            j0.tap(p0('.mbsc-fr-btn' + H2f, h0), function(q2f) {
                                l2f = V0(l2f) ? j0.buttons[l2f] : l2f;
                                (V0(l2f.handler) ? j0.handlers[l2f.handler] : l2f.handler).call(this, q2f, j0);
                            }, true);
                        });
                        j0._attachEvents(h0);
                        j0.position();
                        z5f.on(i5f, s5f);
                        if (D0) {
                            if (W0 && !G1f) {
                                h0.addClass('mbsc-anim-in mbsc-anim-trans mbsc-anim-trans-' + W0).on(o0, function() {
                                    h0.off(o0).removeClass('mbsc-anim-in mbsc-anim-trans mbsc-anim-trans-' + W0).find('.mbsc-fr-popup').removeClass('mbsc-anim-' + W0);
                                    O5f(s1f);
                                }).find('.mbsc-fr-popup').addClass('mbsc-anim-' + W0);
                            } else {
                                O5f(s1f);
                            }
                        }
                        R5f('onShow', {
                            target: l5f,
                            valueText: j0._tempValue
                        });
                    }, w5f ? 100 : 0);
                };
                j0.hide = function(K2f, w2f, a2f, F2f) {
                    if (!j0._isVisible || !a2f && !j0._isValid && w2f == 'set' || !a2f && R5f('onBeforeClose', {
                            valueText: j0._tempValue,
                            button: w2f
                        }) === false) {
                        return false;
                    }
                    if (D0) {
                        r5f();
                        p0(B0).off('keydown', V5f);
                        delete X0.activeInstance;
                    }
                    if (h0) {
                        if (D0 && W0 && !K2f && !h0.hasClass('mbsc-anim-trans')) {
                            h0.addClass('mbsc-anim-out mbsc-anim-trans mbsc-anim-trans-' + W0).on(o0, function() {
                                h0.off(o0);
                                I5f(K2f);
                            }).find('.mbsc-fr-popup').addClass('mbsc-anim-' + W0);
                        } else {
                            I5f(K2f);
                        }
                        j0._detachEvents(h0);
                        z5f.off(i5f, s5f).off('focusin', e5f);
                    }
                    if (F2f) {
                        F2f();
                    }
                    R5f('onClose', {
                        valueText: j0._value
                    });
                };
                j0.ariaMessage = function(i2f) {
                    A5f.html('');
                    setTimeout(function() {
                        A5f.html(i2f);
                    }, 100);
                };
                j0.isVisible = function() {
                    return j0._isVisible;
                };
                j0.setVal = Y0;
                j0.getVal = Y0;
                j0._generateContent = Y0;
                j0._attachEvents = Y0;
                j0._detachEvents = Y0;
                j0._readValue = Y0;
                j0._clearValue = Y0;
                j0._fillValue = Y0;
                j0._markupReady = Y0;
                j0._markupInserted = Y0;
                j0._markupRemove = Y0;
                j0._position = Y0;
                j0.__processSettings = Y0;
                j0.__init = Y0;
                j0.__destroy = Y0;
                j0._destroy = function() {
                    j0.hide(true, false, true);
                    S0.off('.mbsc');
                    p0.each(Q5f, function(x2f, P2f) {
                        P2f.el.off('.mbsc').prop('readonly', P2f.readOnly);
                        if (P2f.lbl) {
                            P2f.lbl.off('.mbsc');
                        }
                    });
                    j0.__destroy();
                };
                j0._processSettings = function() {
                    var C2f, d2f;
                    j0.__processSettings();
                    g0.buttons = g0.buttons || (g0.display !== 'inline' ? ['set', 'cancel'] : []);
                    g0.headerText = g0.headerText === I0 ? g0.display !== 'inline' ? '{value}' : false : g0.headerText;
                    q5f = g0.buttons || [];
                    D0 = g0.display !== 'inline';
                    f5f = g0.context != 'body';
                    N5f = p0(g0.context);
                    x5f = f5f ? N5f : p0('body,html');
                    j0._window = z5f = p0(f5f ? g0.context : B0);
                    j0.live = true;
                    for (d2f = 0; d2f < q5f.length; d2f++) {
                        C2f = q5f[d2f];
                        if (C2f == 'ok' || C2f == 'set' || C2f.handler == 'set') {
                            j0.live = false;
                        }
                    }
                    j0.buttons.set = {
                        text: g0.setText,
                        icon: g0.setIcon,
                        handler: 'set'
                    };
                    j0.buttons.cancel = {
                        text: g0.cancelText,
                        icon: g0.cancelIcon,
                        handler: 'cancel'
                    };
                    j0.buttons.close = {
                        text: g0.closeText,
                        icon: g0.closeIcon,
                        handler: 'cancel'
                    };
                    j0.buttons.clear = {
                        text: g0.clearText,
                        icon: g0.clearIcon,
                        handler: 'clear'
                    };
                    j0._isInput = S0.is('input');
                };
                j0._init = function() {
                    if (j0._isVisible) {
                        j0.hide(true, false, true);
                    }
                    S0.off('.mbsc');
                    j0.__init();
                    j0._isLiquid = g0.layout == 'liquid';
                    if (D0) {
                        j0._readValue();
                        if (!j0._hasContent) {
                            j0.attachShow(S0);
                        }
                    } else {
                        j0.show();
                    }
                    S0.on('change.mbsc', function() {
                        if (!j0._preventChange) {
                            j0.setVal(S0.val(), true, false);
                        }
                        j0._preventChange = false;
                    });
                };
                j0.buttons = {};
                j0.handlers = {
                    set: j0.select,
                    cancel: j0.cancel,
                    clear: j0.clear
                };
                j0._value = null;
                j0._isValid = true;
                j0._isVisible = false;
                g0 = j0.settings;
                R5f = j0.trigger;
                if (!j5f) {
                    j0.init(u5f);
                }
            };
            X0.classes.Frame.prototype._defaults = {
                lang: 'en',
                setText: 'Set',
                selectedText: '{count} selected',
                closeText: 'Close',
                cancelText: 'Cancel',
                clearText: 'Clear',
                context: 'body',
                maxPopupWidth: 600,
                disabled: false,
                closeOnOverlayTap: true,
                showOnFocus: false,
                showOnTap: true,
                display: 'center',
                scroll: true,
                scrollLock: true,
                tap: true,
                btnClass: 'mbsc-fr-btn',
                btnWidth: true,
                focusTrap: true,
                focusOnClose: !r0
            };
            X0.themes.frame.mobiscroll = {
                headerText: false,
                btnWidth: false
            };
            X0.themes.scroller.mobiscroll = p0.extend({}, X0.themes.frame.mobiscroll, {
                rows: 5,
                showLabel: false,
                selectedLineBorder: 1,
                weekDays: 'min',
                checkIcon: 'ion-ios7-checkmark-empty',
                btnPlusClass: 'mbsc-ic mbsc-ic-arrow-down5',
                btnMinusClass: 'mbsc-ic mbsc-ic-arrow-up5',
                btnCalPrevClass: 'mbsc-ic mbsc-ic-arrow-left5',
                btnCalNextClass: 'mbsc-ic mbsc-ic-arrow-right5'
            });
            p0(B0).on('focus', function() {
                if (k0) {
                    J0 = true;
                }
            });
        }(window, document));
         (function(Q7x) {
             var e7x = L9s,
                 d7x = e7x.$,
                 j7x = e7x.classes,
                 h7x = e7x.util,
                 o7x = h7x.constrain,
                 l7x = h7x.jsPrefix,
                 r7x = h7x.prefix,
                 E7x = h7x.getCoord,
                 H7x = h7x.getPosition,
                 u7x = h7x.testTouch,
                 N7x = h7x.isNumeric,
                 A7x = h7x.isString,
                 c7x = /(iphone|ipod|ipad)/i.test(navigator.userAgent),
                 L7x = function() {},
                 k7x = window.requestAnimationFrame || function(M7x) {
                     M7x();
                 },
                 w7x = window.cancelAnimationFrame || L7x;
             j7x.ScrollView = function(g7x, Q3x, r3x) {
                 function G3x(i3x, m3x, U3x, C3x) {
                     var v3x = i3x != P7x,
                         R3x = m3x > 1,
                         O3x = function() {
                             clearInterval(Y3x);
                             clearTimeout(d3x);
                             W7x = false;
                             P7x = i3x;
                             V7x.posX = t7x ? 0 : i3x;
                             V7x.posY = t7x ? i3x : 0;
                             if (v3x) {
                                 x7x('onMove', V7x);
                             }
                             if (R3x) {
                                 x7x('onAnimationEnd', V7x);
                             }
                             if (C3x) {
                                 C3x();
                             }
                         };
                     V7x = {
                         posX: t7x ? 0 : P7x,
                         posY: t7x ? P7x : 0,
                         originX: t7x ? 0 : Z7x,
                         originY: t7x ? Z7x : 0,
                         direction: i3x - P7x > 0 ? t7x ? 270 : 360 : t7x ? 90 : 180
                     };
                     P7x = i3x;
                     if (R3x) {
                         V7x.destinationX = t7x ? 0 : i3x;
                         V7x.destinationY = t7x ? i3x : 0;
                         V7x.duration = m3x;
                         V7x.transitionTiming = J3x;
                         x7x('onAnimationStart', V7x);
                     }
                     e3x[l7x + 'Transition'] = m3x ? r7x + 'transform ' + Math.round(m3x) + 'ms ' + J3x : '';
                     e3x[l7x + 'Transform'] = 'translate3d(' + (t7x ? '0,' + i3x + 'px,' : i3x + 'px,' + '0,') + '0)';
                     if (!v3x && !W7x || !m3x || m3x <= 1) {
                         O3x();
                     } else if (m3x) {
                         W7x = !U3x;
                         clearInterval(Y3x);
                         Y3x = setInterval(function() {
                             var W3x = +H7x(v7x, t7x) || 0;
                             V7x.posX = t7x ? 0 : W3x;
                             V7x.posY = t7x ? W3x : 0;
                             x7x('onMove', V7x);
                             if (Math.abs(W3x - i3x) < 2) {
                                 O3x();
                             }
                         }, 100);
                         clearTimeout(d3x);
                         d3x = setTimeout(function() {
                             O3x();
                         }, m3x);
                     }
                     if (T7x.sync) {
                         T7x.sync(i3x, m3x, J3x);
                     }
                 }

                 function l3x(I3x) {
                     var F3x, x3x, Z3x;
                     if (U7x) {
                         I3x = o7x(I3x, -F7x * U7x, F7x * U7x);
                     }
                     Z3x = o7x(Math.round((Z7x + I3x) / F7x) * F7x, O7x, m7x);
                     R7x = Math.round(Z3x / F7x);
                     if (I7x) {
                         if (I3x < 0) {
                             for (F3x = I7x.length - 1; F3x >= 0; F3x--) {
                                 if (Math.abs(Z3x) + s3x >= I7x[F3x].breakpoint) {
                                     R7x = F3x;
                                     f3x = 2;
                                     Z3x = I7x[F3x].snap2;
                                     break;
                                 }
                             }
                         } else if (I3x >= 0) {
                             for (F3x = 0; F3x < I7x.length; F3x++) {
                                 if (Math.abs(Z3x) <= I7x[F3x].breakpoint) {
                                     R7x = F3x;
                                     f3x = 1;
                                     Z3x = I7x[F3x].snap1;
                                     break;
                                 }
                             }
                         }
                         Z3x = o7x(Z3x, O7x, m7x);
                     }
                     x3x = T7x.time || (P7x < O7x || P7x > m7x ? 1000 : Math.max(1000, Math.abs(Z3x - P7x) * T7x.timeUnit));
                     V7x.destinationX = t7x ? 0 : Z3x;
                     V7x.destinationY = t7x ? Z3x : 0;
                     V7x.duration = x3x;
                     V7x.transitionTiming = J3x;
                     x7x('onGestureEnd', V7x);
                     G3x(Z3x, x3x);
                 }

                 function A3x(P3x) {
                     P3x = P3x.originalEvent || P3x;
                     X7x = t7x ? P3x.deltaY || P3x.wheelDelta || P3x.detail : P3x.deltaX;
                     x7x('onStart', {
                         domEvent: P3x
                     });
                     if (T7x.stopProp) {
                         P3x.stopPropagation();
                     }
                     if (X7x) {
                         P3x.preventDefault();
                         if (P3x.deltaMode && P3x.deltaMode == 1) {
                             X7x *= 5;
                         }
                         X7x = o7x(-X7x, -20, 20);
                         Z7x = P7x;
                         if (T7x.readonly || Z7x + X7x < O7x || Z7x + X7x > m7x) {
                             return;
                         }
                         if (!S7x) {
                             V7x = {
                                 posX: t7x ? 0 : P7x,
                                 posY: t7x ? P7x : 0,
                                 originX: t7x ? 0 : Z7x,
                                 originY: t7x ? Z7x : 0,
                                 direction: X7x > 0 ? t7x ? 270 : 360 : t7x ? 90 : 180
                             };
                             x7x('onGestureStart', V7x);
                         }
                         if (!q7x) {
                             q7x = true;
                             y3x = k7x(c3x);
                         }
                         S7x = true;
                         clearTimeout(H3x);
                         H3x = setTimeout(function() {
                             w7x(y3x);
                             q7x = false;
                             S7x = false;
                             l3x(X7x);
                         }, 200);
                     }
                 }

                 function z3x(X3x) {
                     if (p3x) {
                         var n3x, V3x = new Date() - w3x;
                         if (T7x.stopProp) {
                             X3x.stopPropagation();
                         }
                         w7x(y3x);
                         q7x = false;
                         if (!D3x && n7x.scrolled) {
                             if (T7x.momentum && V3x < 300) {
                                 n3x = X7x / V3x;
                                 X7x = Math.max(Math.abs(X7x), n3x * n3x / T7x.speedUnit) * (X7x < 0 ? -1 : 1);
                             }
                             l3x(X7x);
                         }
                         if (b3x) {
                             clearTimeout(j3x);
                             i7x.addClass('mbsc-btn-a');
                             setTimeout(function() {
                                 i7x.removeClass('mbsc-btn-a');
                             }, 100);
                             if (!D3x && !n7x.scrolled) {
                                 x7x('onBtnTap', {
                                     target: i7x[0]
                                 });
                             }
                         }
                         if (X3x.type == 'mouseup') {
                             d7x(document).off('mousemove', K3x).off('mouseup', z3x);
                         }
                         p3x = false;
                     }
                 }

                 function c3x() {
                     if (U7x) {
                         X7x = o7x(X7x, -F7x * U7x, F7x * U7x);
                     }
                     G3x(o7x(Z7x + X7x, O7x - h3x, m7x + h3x));
                     q7x = false;
                 }

                 function K3x(t3x) {
                     if (p3x) {
                         if (T7x.stopProp) {
                             t3x.stopPropagation();
                         }
                         E3x = E7x(t3x, 'X');
                         L3x = E7x(t3x, 'Y');
                         B3x = E3x - o3x;
                         a3x = L3x - k3x;
                         X7x = t7x ? a3x : B3x;
                         if (b3x && (Math.abs(a3x) > 5 || Math.abs(B3x) > 5)) {
                             clearTimeout(j3x);
                             i7x.removeClass('mbsc-btn-a');
                             b3x = false;
                         }
                         if (n7x.scrolled || !D3x && Math.abs(X7x) > 5) {
                             if (!S7x) {
                                 x7x('onGestureStart', V7x);
                             }
                             n7x.scrolled = S7x = true;
                             if (!q7x) {
                                 q7x = true;
                                 y3x = k7x(c3x);
                             }
                         }
                         if (t7x || T7x.scrollLock) {
                             t3x.preventDefault();
                         } else {
                             if (n7x.scrolled) {
                                 t3x.preventDefault();
                             } else if (Math.abs(a3x) > 7) {
                                 D3x = true;
                                 n7x.scrolled = true;
                                 C7x.trigger('touchend');
                             }
                         }
                     }
                 }

                 function u3x(T3x) {
                     x7x('onStart', {
                         domEvent: T3x
                     });
                     if (T7x.stopProp) {
                         T3x.stopPropagation();
                     }
                     if (T7x.prevDef || T3x.type == 'mousedown') {
                         T3x.preventDefault();
                     }
                     if (T7x.readonly || T7x.lock && W7x) {
                         return;
                     }
                     if (u7x(T3x, this) && !p3x && L9s.SJbOo) {
                         if (i7x) {
                             i7x.removeClass('mbsc-btn-a');
                         }
                         b3x = false;
                         if (!W7x) {
                             i7x = d7x(T3x.target).closest('.mbsc-btn-e', this);
                             if (i7x.length && !i7x.hasClass('mbsc-btn-d')) {
                                 b3x = true;
                                 j3x = setTimeout(function() {
                                     i7x.addClass('mbsc-btn-a');
                                 }, 100);
                             }
                         }
                         p3x = true;
                         S7x = false;
                         D3x = false;
                         n7x.scrolled = W7x;
                         o3x = E7x(T3x, 'X');
                         k3x = E7x(T3x, 'Y');
                         E3x = M3x = o3x;
                         B3x = 0;
                         a3x = 0;
                         X7x = 0;
                         w3x = new Date();
                         Z7x = +H7x(v7x, t7x) || 0;
                         if (W7x) {
                             G3x(Z7x, c7x ? 0 : 1);
                         }
                         if (T3x.type === 'mousedown') {
                             d7x(document).on('mousemove', K3x).on('mouseup', z3x);
                         }
                     }
                 }
                 var i7x, j3x, s3x, B3x, a3x, X7x, N3x, J3x, h3x, E3x, L3x, V7x, b3x, M3x, m7x, U7x, O7x, p3x, W7x, D3x, y3x, q7x, S7x, H3x, Y3x, F7x, I7x, Z7x, w3x, o3x, k3x, e3x, v7x, d3x, x7x, t7x, n7x = this,
                     P7x, R7x = 0,
                     f3x = 1,
                     T7x = Q3x,
                     C7x = d7x(g7x);
                 j7x.Base.call(this, g7x, Q3x, true);
                 n7x.scrolled = false;
                 n7x.scroll = function(q3x, S3x, g3x, D9x) {
                     if (!N7x(q3x)) {
                         q3x = Math.ceil((d7x(q3x, g7x).length ? Math.round(v7x.offset()[N3x] - d7x(q3x, g7x).offset()[N3x]) : P7x) / F7x) * F7x;
                     } else {
                         q3x = Math.round(q3x / F7x) * F7x;
                     }
                     q3x = o7x(q3x, O7x, m7x);
                     R7x = Math.round(q3x / F7x);
                     Z7x = P7x;
                     G3x(q3x, S3x, g3x, D9x);
                 };
                 n7x.refresh = function(J9x) {
                     var b9x;
                     s3x = T7x.contSize === Q7x ? t7x ? C7x.height() : C7x.width() : T7x.contSize;
                     O7x = T7x.minScroll === Q7x ? Math.min(0, t7x ? s3x - v7x.height() : s3x - v7x.width()) : T7x.minScroll;
                     m7x = T7x.maxScroll === Q7x ? 0 : T7x.maxScroll;
                     I7x = null;
                     if (!t7x && T7x.rtl) {
                         b9x = m7x;
                         m7x = -O7x;
                         O7x = -b9x;
                     }
                     if (A7x(T7x.snap)) {
                         I7x = [];
                         v7x.find(T7x.snap).each(function() {
                             var a9x = t7x ? this.offsetTop : this.offsetLeft,
                                 s9x = t7x ? this.offsetHeight : this.offsetWidth;
                             I7x.push({
                                 breakpoint: a9x + s9x / 2,
                                 snap1: -a9x,
                                 snap2: s3x - a9x - s9x
                             });
                         });
                     }
                     F7x = N7x(T7x.snap) ? T7x.snap : 1;
                     U7x = T7x.snap ? T7x.maxSnapScroll : 0;
                     J3x = T7x.easing;
                     h3x = T7x.elastic ? N7x(T7x.snap) ? F7x : N7x(T7x.elastic) ? T7x.elastic : 0 : 0;
                     if (P7x === Q7x) {
                         P7x = T7x.initialPos;
                         R7x = Math.round(P7x / F7x);
                     }
                     if (!J9x) {
                         n7x.scroll(T7x.snap ? I7x ? I7x[R7x]['snap' + f3x] : R7x * F7x : P7x);
                     }
                 };
                 n7x._processSettings = function() {
                     t7x = T7x.axis == 'Y';
                     N3x = t7x ? 'top' : 'left';
                     v7x = T7x.moveElement || C7x.children().eq(0);
                     e3x = v7x[0].style;
                 };
                 n7x._init = function() {
                     n7x.refresh();
                     C7x.on('touchstart mousedown', u3x).on('touchmove', K3x).on('touchend touchcancel', z3x);
                     if (T7x.mousewheel) {
                         C7x.on('wheel mousewheel', A3x);
                     }
                     if (g7x.addEventListener) {
                         g7x.addEventListener('click', function(p9x) {
                             if (n7x.scrolled) {
                                 n7x.scrolled = false;
                                 p9x.stopPropagation();
                                 p9x.preventDefault();
                             }
                         }, true);
                     }
                 };
                 n7x._destroy = function() {
                     clearInterval(Y3x);
                     C7x.off('touchstart mousedown', u3x).off('touchmove', K3x).off('touchend touchcancel', z3x).off('wheel mousewheel', A3x);
                 };
                 T7x = n7x.settings;
                 x7x = n7x.trigger;
                 if (!r3x) {
                     n7x.init(Q3x);
                 }
             };
             j7x.ScrollView.prototype = {
                 _class: 'scrollview',
                 _defaults: {
                     speedUnit: 0.0022,
                     timeUnit: 3,
                     initialPos: 0,
                     axis: 'Y',
                     easing: 'cubic-bezier(0.190, 1.000, 0.220, 1.000)',
                     stopProp: true,
                     momentum: true,
                     mousewheel: true,
                     elastic: true
                 }
             };
             e7x.presetShort('scrollview', 'ScrollView', false);
         }());
         (function(k9x, N9x, Y9x) {
             var G9x = L9s,
                 B9x = G9x.$,
                 y9x = B9x.extend,
                 z9x = G9x.classes,
                 E9x = G9x.platform,
                 f9x = G9x.util,
                 d9x = f9x.jsPrefix,
                 o9x = f9x.prefix,
                 K9x = f9x.getCoord,
                 j9x = f9x.testTouch,
                 h9x = k9x.CSS,
                 e9x = h9x && h9x.supports && h9x.supports("(transform-style: preserve-3d)"),
                 Q9x = !e9x || E9x.name == 'wp' || E9x.name == 'android';
             G9x.presetShort('scroller', 'Scroller', false);
             z9x.Scroller = function(n9x, Y6o, j6o) {
                 function O9x(H5o, w5o, l5o, u5o, A5o) {
                     if (!u5o) {
                         x9x(l5o);
                     } else {
                         w9x._tempValue = H9x.formatValue(w9x._tempWheelArray, w9x);
                     }
                     if (!A5o) {
                         w9x._wheelArray = [];
                         for (var k5o = 0; k5o < u9x.length; k5o++) {
                             w9x._wheelArray[k5o] = c9x[k5o] && c9x[k5o].multiple ? Object.keys(w9x._tempSelected[k5o])[0] : u9x[k5o];
                         }
                         w9x._value = w9x._hasValue ? w9x._tempValue : null;
                         w9x._selected = y9x(true, {}, w9x._tempSelected);
                     }
                     if (H5o) {
                         if (w9x._isInput) {
                             v9x.val(w9x._hasValue ? w9x._tempValue : '');
                         }
                         r9x('onFill', {
                             valueText: w9x._hasValue ? w9x._tempValue : '',
                             change: w5o
                         });
                         if (w5o) {
                             w9x._preventChange = true;
                             v9x.trigger('change');
                         }
                     }
                 }

                 function a6o(h5o, d5o, E5o, e5o, N5o, j5o, Q5o) {
                     var o5o = Z9x(h5o, E5o);
                     if (o5o !== Y9x) {
                         u9x[d5o] = o5o;
                         h5o._batch = h5o._array ? Math.floor(E5o / h5o._length) * h5o._length : 0;
                         setTimeout(function() {
                             x9x(e5o, d5o, N5o, true, j5o, Q5o);
                         }, 10);
                     }
                 }

                 function x9x(B5o, g1o, s5o, D5o, p5o, Y5o) {
                     var b5o, J5o, a5o, q1o, S1o = w9x._isVisible;
                     P9x = true;
                     q1o = H9x.validate.call(n9x, {
                         values: u9x.slice(0),
                         index: g1o,
                         direction: s5o
                     }, w9x) || {};
                     P9x = false;
                     if (q1o.valid) {
                         w9x._tempWheelArray = u9x = q1o.valid.slice(0);
                     }
                     if (!Y5o) {
                         B9x.each(c9x, function(G5o, f5o) {
                             if (S1o) {
                                 f5o._$markup.find('.mbsc-sc-itm-inv').removeClass('mbsc-sc-itm-inv mbsc-btn-d');
                             }
                             f5o._disabled = {};
                             if (q1o.disabled && q1o.disabled[G5o]) {
                                 B9x.each(q1o.disabled[G5o], function(K5o, z5o) {
                                     f5o._disabled[z5o] = true;
                                     if (S1o) {
                                         f5o._$markup.find('.mbsc-sc-itm[data-val="' + z5o + '"]').addClass('mbsc-sc-itm-inv mbsc-btn-d');
                                     }
                                 });
                             }
                             u9x[G5o] = f5o.multiple ? u9x[G5o] : f6o(G5o, u9x[G5o], s5o);
                             if (S1o) {
                                 if (!f5o.multiple || g1o === Y9x) {
                                     f5o._$markup.find('.mbsc-sc-itm-sel').removeClass(T9x).removeAttr('aria-selected');
                                 }
                                 if (f5o.multiple) {
                                     if (g1o === Y9x) {
                                         for (var y5o in w9x._tempSelected[G5o]) {
                                             f5o._$markup.find('.mbsc-sc-itm[data-val="' + y5o + '"]').addClass(T9x).attr('aria-selected', 'true');
                                         }
                                     }
                                 } else {
                                     f5o._$markup.find('.mbsc-sc-itm[data-val="' + u9x[G5o] + '"]').addClass('mbsc-sc-itm-sel').attr('aria-selected', 'true');
                                 }
                                 J5o = s6o(f5o, u9x[G5o]);
                                 b5o = J5o - f5o._index + f5o._batch;
                                 if (Math.abs(b5o) > 2 * L9x + 1) {
                                     a5o = b5o + (2 * L9x + 1) * (b5o > 0 ? -1 : 1);
                                     f5o._offset += a5o;
                                     f5o._margin -= a5o * l9x;
                                     f5o._refresh();
                                 }
                                 f5o._index = J5o + f5o._batch;
                                 f5o._scroller.scroll(-(J5o - f5o._offset + f5o._batch) * l9x, g1o === G5o || g1o === Y9x ? B5o : i9x, p5o);
                             }
                         });
                     }
                     r9x('onValidated');
                     w9x._tempValue = H9x.formatValue(u9x, w9x);
                     if (S1o) {
                         w9x._header.html(E6o(w9x._tempValue));
                     }
                     if (w9x.live) {
                         w9x._hasValue = D5o || w9x._hasValue;
                         O9x(D5o, D5o, 0, true);
                         if (D5o) {
                             r9x('onSet', {
                                 valueText: w9x._value
                             });
                         }
                     }
                     if (D5o) {
                         r9x('onChange', {
                             valueText: w9x._tempValue
                         });
                     }
                 }

                 function f6o(U1o, F1o, C1o, W1o) {
                     var m1o, Z1o = c9x[U1o],
                         O1o = W1o || Z1o._disabled,
                         x1o = s6o(Z1o, F1o),
                         R1o = F1o,
                         v1o = F1o,
                         I1o = 0,
                         i1o = 0;
                     if (F1o === Y9x) {
                         F1o = Z9x(Z1o, x1o);
                     }
                     if (O1o[F1o] === true) {
                         m1o = 0;
                         while (x1o - I1o >= Z1o.min && O1o[R1o] && m1o < 100) {
                             m1o++;
                             I1o++;
                             R1o = Z9x(Z1o, x1o - I1o);
                         }
                         m1o = 0;
                         while (x1o + i1o < Z1o.max && O1o[v1o] && m1o < 100) {
                             m1o++;
                             i1o++;
                             v1o = Z9x(Z1o, x1o + i1o);
                         }
                         if ((i1o < I1o && i1o && C1o !== 2 || !I1o || x1o - I1o < 0 || C1o == 1) && !O1o[v1o]) {
                             F1o = v1o;
                         } else {
                             F1o = R1o;
                         }
                     }
                     return F1o;
                 }

                 function e6o(L1o, V1o, P1o) {
                     var X1o = Math.round(-P1o / l9x) + L1o._offset,
                         r1o = X1o - L1o._current,
                         M1o = L1o._first,
                         T1o = L1o._last,
                         t1o = M1o + L9x - M9x + 1,
                         n1o = T1o - L9x + M9x;
                     if (r1o) {
                         L1o._first += r1o;
                         L1o._last += r1o;
                         L1o._current = X1o;
                         if (r1o > 0) {
                             L1o._$scroller.append(t9x(L1o, V1o, Math.max(T1o + 1, M1o + r1o), T1o + r1o));
                             B9x('.mbsc-sc-itm', L1o._$scroller).slice(0, Math.min(r1o, T1o - M1o + 1)).remove();
                             if (A9x) {
                                 L1o._$3d.append(t9x(L1o, V1o, Math.max(n1o + 1, t1o + r1o), n1o + r1o, true));
                                 B9x('.mbsc-sc-itm', L1o._$3d).slice(0, Math.min(r1o, n1o - t1o + 1)).attr('class', 'mbsc-sc-itm-del');
                             }
                         } else if (r1o < 0) {
                             L1o._$scroller.prepend(t9x(L1o, V1o, M1o + r1o, Math.min(M1o - 1, T1o + r1o)));
                             B9x('.mbsc-sc-itm', L1o._$scroller).slice(Math.max(r1o, M1o - T1o - 1)).remove();
                             if (A9x) {
                                 L1o._$3d.prepend(t9x(L1o, V1o, t1o + r1o, Math.min(t1o - 1, n1o + r1o), true));
                                 B9x('.mbsc-sc-itm', L1o._$3d).slice(Math.max(r1o, t1o - n1o - 1)).attr('class', 'mbsc-sc-itm-del');
                             }
                         }
                         L1o._margin += r1o * l9x;
                         L1o._$scroller.css('margin-top', L1o._margin + 'px');
                     }
                 }

                 function E6o(c1o) {
                     var A1o = H9x.headerText;
                     return A1o ? typeof A1o === 'function' ? A1o.call(n9x, c1o) : A1o.replace(/\{value\}/i, c1o) : '';
                 }

                 function t9x(h1o, N1o, u1o, l1o, j1o) {
                     var K1o, H1o, y1o, z1o, Q1o, E1o, w1o, e1o, d1o = '',
                         o1o = w9x._tempSelected[N1o],
                         k1o = h1o._disabled || {};
                     for (K1o = u1o; K1o <= l1o; K1o++) {
                         y1o = h6o(h1o, K1o);
                         Q1o = N6o(y1o);
                         z1o = C9x(y1o);
                         H1o = y1o && y1o.cssClass !== Y9x ? y1o.cssClass : '';
                         E1o = y1o && y1o.label !== Y9x ? y1o.label : '';
                         w1o = y1o && y1o.invalid;
                         e1o = z1o !== Y9x && z1o == u9x[N1o] && !h1o.multiple;
                         d1o += '<div role="option" aria-selected="' + (o1o[z1o] ? true : false) + '" class="mbsc-sc-itm ' + (j1o ? 'mbsc-sc-itm-3d ' : '') + H1o + ' ' + (e1o ? 'mbsc-sc-itm-sel ' : '') + (o1o[z1o] ? T9x : '') + (z1o === Y9x ? ' mbsc-sc-itm-ph' : ' mbsc-btn-e') + (w1o ? ' mbsc-sc-itm-inv-h mbsc-btn-d' : '') + (k1o[z1o] ? ' mbsc-sc-itm-inv mbsc-btn-d' : '') + '" data-index="' + K1o + '" data-val="' + z1o + '"' + (E1o ? ' aria-label="' + E1o + '"' : '') + (e1o ? ' aria-selected="true"' : '') + ' style="height:' + l9x + 'px;line-height:' + l9x + 'px;' + (j1o ? o9x + 'transform:rotateX(' + (h1o._offset - K1o) * W9x % 360 + 'deg) translateZ(' + l9x * H9x.rows / 2 + 'px);' : '') + '">' + (X9x > 1 ? '<div class="mbsc-sc-itm-ml" style="line-height:' + Math.round(l9x / X9x) + 'px;font-size:' + Math.round(l9x / X9x * 0.8) + 'px;">' : '') + Q1o + (X9x > 1 ? '</div>' : '') + '</div>';
                     }
                     return d1o;
                 }

                 function J6o(b1o, J1o, s1o) {
                     var a1o = b1o._index - b1o._batch;
                     b1o.data = b1o.data || [];
                     b1o.key = b1o.key !== Y9x ? b1o.key : J1o;
                     b1o.label = b1o.label !== Y9x ? b1o.label : J1o;
                     b1o._map = {};
                     b1o._array = B9x.isArray(b1o.data);
                     if (b1o._array) {
                         b1o._length = b1o.data.length;
                         B9x.each(b1o.data, function(p1o, B1o) {
                             b1o._map[C9x(B1o)] = p1o;
                         });
                     }
                     b1o.circular = H9x.circular === Y9x ? b1o.circular === Y9x ? b1o._array && b1o._length > H9x.rows : b1o.circular : B9x.isArray(H9x.circular) ? H9x.circular[J1o] : H9x.circular;
                     b1o.min = b1o._array ? b1o.circular ? -Infinity : 0 : b1o.min === Y9x ? -Infinity : b1o.min;
                     b1o.max = b1o._array ? b1o.circular ? Infinity : b1o._length - 1 : b1o.max === Y9x ? Infinity : b1o.max;
                     b1o._nr = J1o;
                     b1o._index = s6o(b1o, u9x[J1o]);
                     b1o._disabled = {};
                     b1o._batch = 0;
                     b1o._current = b1o._index;
                     b1o._first = b1o._index - L9x;
                     b1o._last = b1o._index + L9x;
                     b1o._offset = b1o._first;
                     if (s1o) {
                         b1o._offset -= b1o._margin / l9x + (b1o._index - a1o);
                         b1o._margin += (b1o._index - a1o) * l9x;
                     } else {
                         b1o._margin = 0;
                     }
                     b1o._refresh = function(G1o) {
                         var Y1o = -(b1o.min - b1o._offset + (b1o.multiple && !A9x ? Math.floor(H9x.rows / 2) : 0)) * l9x,
                             f1o = Math.min(Y1o, -(b1o.max - b1o._offset - (b1o.multiple && !A9x ? Math.floor(H9x.rows / 2) : 0)) * l9x);
                         y9x(b1o._scroller.settings, {
                             minScroll: f1o,
                             maxScroll: Y1o
                         });
                         b1o._scroller.refresh(G1o);
                     };
                     q9x[b1o.key] = b1o;
                     return b1o;
                 }

                 function p6o(D1o) {
                     return B9x.isArray(H9x.readonly) ? H9x.readonly[D1o] : H9x.readonly;
                 }

                 function K6o(S6o, g6o) {
                     var q6o = c9x[S6o];
                     a6o(q6o, S6o, q6o._current + g6o, i9x, g6o == 1 ? 1 : 2);
                 }

                 function g9x(W6o) {
                     clearInterval(U9x);
                     R9x = W6o;
                     F9x = false;
                     if (I9x) {
                         I9x.removeClass('mbsc-sc-btn-a');
                     }
                 }

                 function y6o(C6o, U6o) {
                     if (!R9x) {
                         K6o(C6o, U6o);
                     }
                     if (F9x && L9s.SJbOo) {
                         clearInterval(U9x);
                         U9x = setInterval(function() {
                             K6o(C6o, U6o);
                         }, H9x.delay);
                     }
                 }

                 function Z9x(v6o, R6o) {
                     return C9x(h6o(v6o, R6o));
                 }

                 function N6o(m6o) {
                     var O6o = B9x.isPlainObject(m6o) ? m6o.display : m6o;
                     return O6o === Y9x ? '' : O6o ;
                 }

                 function C9x(i6o) {
                     return B9x.isPlainObject(i6o) ? i6o.value !== Y9x ? i6o.value : i6o.display : i6o;
                 }

                 function h6o(Z6o, I6o) {
                     var x6o = Z6o.data;
                     if (I6o >= Z6o.min && I6o <= Z6o.max) {
                         return Z6o._array ? Z6o.circular ? B9x(x6o).get(I6o % Z6o._length) : x6o[I6o] : B9x.isFunction(x6o) ? x6o(I6o, w9x) : '';
                     }
                 }

                 function s6o(P6o, F6o) {
                     return (P6o._array ? P6o._map[F6o] : P6o.getIndex(F6o, w9x)) || 0;
                 }

                 function B6o(T6o, n6o) {
                     var r6o = c9x[T6o],
                         V6o = n6o.attr('data-index'),
                         M6o = Z9x(r6o, V6o),
                         t6o = w9x._tempSelected[T6o],
                         X6o = f9x.isNumeric(r6o.multiple) ? r6o.multiple : Infinity;
                     if (r9x('onItemTap', {
                             target: n6o[0],
                             index: T6o,
                             value: M6o,
                             selected: n6o.hasClass('mbsc-sc-itm-sel')
                         }) !== false) {
                         if (r6o.multiple && !r6o._disabled[M6o]) {
                             if (t6o[M6o] !== Y9x) {
                                 n6o.removeClass(T9x).removeAttr('aria-selected');
                                 delete t6o[M6o];
                             } else {
                                 if (X6o == 1) {
                                     w9x._tempSelected[T6o] = t6o = {};
                                     r6o._$markup.find('.mbsc-sc-itm-sel').removeClass(T9x).removeAttr('aria-selected');
                                 }
                                 if (f9x.objectToArray(t6o).length < X6o) {
                                     n6o.addClass(T9x).attr('aria-selected', 'true');
                                     t6o[M6o] = M6o;
                                 }
                             }
                         }
                         a6o(r6o, T6o, V6o, i9x, true, true, r6o.multiple);
                         if (w9x.live && !r6o.multiple && (H9x.setOnTap === true || H9x.setOnTap[T6o])) {
                             setTimeout(function() {
                                 w9x.select();
                             }, 200);
                         }
                     }
                 }

                 function Q6o() {
                     g9x();
                 }

                 function d6o(u6o) {
                     var A6o = B9x(this).attr('data-index'),
                         c6o, L6o;
                     if (u6o.keyCode == 38) {
                         c6o = true;
                         L6o = -1;
                     } else if (u6o.keyCode == 40) {
                         c6o = true;
                         L6o = 1;
                     } else if (u6o.keyCode == 32) {
                         c6o = true;
                         B6o(A6o, c9x[A6o]._$markup.find('.mbsc-sc-itm[data-val="' + u9x[A6o] + '"]'));
                     }
                     if (c6o) {
                         u6o.stopPropagation();
                         u6o.preventDefault();
                         if (L6o && !F9x) {
                             F9x = true;
                             R9x = false;
                             y6o(A6o, L6o);
                         }
                     }
                 }

                 function b6o(l6o) {
                     g9x();
                     l6o.preventDefault();
                     if (l6o.type === 'mouseup') {
                         B9x(N9x).off('mousemove', D6o).off('mouseup', b6o);
                     }
                 }

                 function D6o(H6o) {
                     if (Math.abs(G6o - K9x(H6o, 'X')) > 7 || Math.abs(z6o - K9x(H6o, 'Y')) > 7) {
                         g9x(true);
                     }
                 }

                 function o6o(k6o) {
                     var w6o = +B9x(this).attr('data-index');
                     k6o.stopPropagation();
                     if (k6o.type === 'mousedown') {
                         k6o.preventDefault();
                     }
                     if (j9x(k6o, this) && !p6o(w6o)) {
                         I9x = B9x(this).addClass('mbsc-sc-btn-a');
                         G6o = K9x(k6o, 'X');
                         z6o = K9x(k6o, 'Y');
                         F9x = true;
                         R9x = false;
                         setTimeout(function() {
                             y6o(w6o, I9x.attr('data-dir') == 'inc' ? 1 : -1);
                         }, 100);
                         if (k6o.type === 'mousedown') {
                             B9x(N9x).on('mousemove', D6o).on('mouseup', b6o);
                         }
                     }
                 }
                 var S9x, I9x, M9x, L9x = 40,
                     i9x = 1000,
                     W9x, A9x, T9x, V9x, U9x, F9x, R9x, G6o, z6o, u9x, l9x, m9x, P9x, H9x, r9x, X9x, c9x, q9x, w9x = this,
                     v9x = B9x(n9x);
                 z9x.Frame.call(this, n9x, Y6o, true);
                 w9x.setVal = w9x._setVal = function(c5o, L5o, r5o, M5o, T5o) {
                     w9x._hasValue = c5o !== null && c5o !== Y9x;
                     w9x._tempWheelArray = u9x = B9x.isArray(c5o) ? c5o.slice(0) : H9x.parseValue.call(n9x, c5o, w9x) || [];
                     O9x(L5o, r5o === Y9x ? L5o : r5o, T5o, false, M5o);
                 };
                 w9x.getVal = w9x._getVal = function(n5o) {
                     var t5o = w9x._hasValue || n5o ? w9x[n5o ? '_tempValue' : '_value'] : null;
                     return f9x.isNumeric(t5o) ? +t5o : t5o;
                 };
                 w9x.setArrayVal = w9x.setVal;
                 w9x.getArrayVal = function(V5o) {
                     return V5o ? w9x._tempWheelArray : w9x._wheelArray;
                 };
                 w9x.changeWheel = function(F5o, Z5o, I5o) {
                     var P5o, X5o;
                     B9x.each(F5o, function(x5o, i5o) {
                         X5o = q9x[x5o];
                         P5o = X5o._nr;
                         if (X5o) {
                             y9x(X5o, i5o);
                             J6o(X5o, P5o, true);
                             if (w9x._isVisible) {
                                 if (A9x) {
                                     X5o._$3d.html(t9x(X5o, P5o, X5o._first + L9x - M9x + 1, X5o._last - L9x + M9x, true));
                                 }
                                 X5o._$scroller.html(t9x(X5o, P5o, X5o._first, X5o._last)).css('margin-top', X5o._margin + 'px');
                                 X5o._refresh(P9x);
                             }
                         }
                     });
                     if (w9x._isVisible && !w9x._isLiquid && !P9x) {
                         w9x.position();
                     }
                     if (!P9x) {
                         x9x(Z5o, Y9x, Y9x, I5o);
                     }
                 };
                 w9x.getValidValue = f6o;
                 w9x._generateContent = function() {
                     var C5o, v5o = 0,
                         O5o = '',
                         R5o = A9x ? o9x + 'transform: translateZ(' + (l9x * H9x.rows / 2 + 3) + 'px);' : '',
                         U5o = '<div class="mbsc-sc-whl-l" style="' + R5o + 'height:' + l9x + 'px;margin-top:-' + (l9x / 2 + (H9x.selectedLineBorder || 0)) + 'px;"></div>',
                         m5o = 0;
                     B9x.each(H9x.wheels, function(q5o, W5o) {
                         O5o += '<div class="mbsc-w-p mbsc-sc-whl-gr-c' + (H9x.showLabel ? ' mbsc-sc-lbl-v' : '') + '">' + U5o + '<div class="mbsc-sc-whl-gr' + (A9x ? ' mbsc-sc-whl-gr-3d' : '') + (V9x ? ' mbsc-sc-cp' : '') + (H9x.width || H9x.maxWidth ? '"' : '" style="max-width:' + H9x.maxPopupWidth + 'px;"') + '>';
                         B9x.each(W5o, function(g5o, S5o) {
                             w9x._tempSelected[m5o] = y9x({}, w9x._selected[m5o]);
                             c9x[m5o] = J6o(S5o, m5o);
                             v5o += H9x.maxWidth ? H9x.maxWidth[m5o] || H9x.maxWidth : H9x.width ? H9x.width[m5o] || H9x.width : 0;
                             C5o = S5o.label !== Y9x ? S5o.label : g5o;
                             O5o += '<div class="mbsc-sc-whl-w ' + (S5o.cssClass || '') + (S5o.multiple ? ' mbsc-sc-whl-multi' : '') + '" style="' + (H9x.width ? 'width:' + (H9x.width[m5o] || H9x.width) + 'px;' : (H9x.minWidth ? 'min-width:' + (H9x.minWidth[m5o] || H9x.minWidth) + 'px;' : '') + (H9x.maxWidth ? 'max-width:' + (H9x.maxWidth[m5o] || H9x.maxWidth) + 'px;' : '')) + '">' + '<div class="mbsc-sc-whl-o" style="' + R5o + '"></div>' + U5o + '<div tabindex="0" aria-live="off" aria-label="' + C5o + '"' + (S5o.multiple ? ' aria-multiselectable="true"' : '') + ' role="listbox" data-index="' + m5o + '" class="mbsc-sc-whl"' + ' style="' + 'height:' + H9x.rows * l9x * (A9x ? 1.1 : 1) + 'px;">' + (V9x ? '<div data-index="' + m5o + '" data-dir="inc" class="mbsc-sc-btn mbsc-sc-btn-plus ' + (H9x.btnPlusClass || '') + '" style="height:' + l9x + 'px;line-height:' + l9x + 'px;"></div>' + '<div data-index="' + m5o + '" data-dir="dec" class="mbsc-sc-btn mbsc-sc-btn-minus ' + (H9x.btnMinusClass || '') + '" style="height:' + l9x + 'px;line-height:' + l9x + 'px;"></div>' : '') + '<div class="mbsc-sc-lbl">' + C5o + '</div>' + '<div class="mbsc-sc-whl-c"' + ' style="height:' + m9x + 'px;margin-top:-' + (m9x / 2 + 1) + 'px;' + R5o + '">' + '<div class="mbsc-sc-whl-sc" style="top:' + (m9x - l9x) / 2 + 'px;">';
                             O5o += t9x(S5o, m5o, S5o._first, S5o._last) + '</div></div>';
                             if (A9x) {
                                 O5o += '<div class="mbsc-sc-whl-3d" style="height:' + l9x + 'px;margin-top:-' + l9x / 2 + 'px;">';
                                 O5o += t9x(S5o, m5o, S5o._first + L9x - M9x + 1, S5o._last - L9x + M9x, true);
                                 O5o += '</div>';
                             }
                             O5o += '</div></div>';
                             m5o++;
                         });
                         O5o += '</div></div>';
                     });
                     if (v5o) {
                         H9x.maxPopupWidth = v5o;
                     }
                     return O5o;
                 };
                 w9x._attachEvents = function(D2o) {
                     B9x('.mbsc-sc-btn', D2o).on('touchstart mousedown', o6o).on('touchmove', D6o).on('touchend touchcancel', b6o);
                     B9x('.mbsc-sc-whl', D2o).on('keydown', d6o).on('keyup', Q6o);
                 };
                 w9x._detachEvents = function() {
                     for (var b2o = 0; b2o < c9x.length; b2o++) {
                         c9x[b2o]._scroller.destroy();
                     }
                 };
                 w9x._markupReady = function(J2o) {
                     S9x = J2o;
                     B9x('.mbsc-sc-whl', S9x).each(function(s2o) {
                         var Y2o, p2o = B9x(this),
                             a2o = c9x[s2o],
                             B2o = -(a2o.min - a2o._offset + (a2o.multiple && !A9x ? Math.floor(H9x.rows / 2) : 0)) * l9x,
                             f2o = Math.min(B2o, -(a2o.max - a2o._offset - (a2o.multiple && !A9x ? Math.floor(H9x.rows / 2) : 0)) * l9x);
                         a2o._$markup = p2o;
                         a2o._$scroller = B9x('.mbsc-sc-whl-sc', this);
                         a2o._$3d = B9x('.mbsc-sc-whl-3d', this);
                         a2o._scroller = new G9x.classes.ScrollView(this, {
                             mousewheel: H9x.mousewheel,
                             moveElement: a2o._$scroller,
                             initialPos: (a2o._first - a2o._index) * l9x,
                             contSize: 0,
                             snap: l9x,
                             minScroll: f2o,
                             maxScroll: B2o,
                             maxSnapScroll: L9x,
                             prevDef: true,
                             stopProp: true,
                             timeUnit: 3,
                             easing: 'cubic-bezier(0.190, 1.000, 0.220, 1.000)',
                             sync: function(y2o, G2o, z2o) {
                                 if (A9x) {
                                     a2o._$3d[0].style[d9x + 'Transition'] = G2o ? o9x + 'transform ' + Math.round(G2o) + 'ms ' + z2o : '';
                                     a2o._$3d[0].style[d9x + 'Transform'] = 'rotateX(' + -y2o / l9x * W9x + 'deg)';
                                 }
                             },
                             onStart: function(h2o, K2o) {
                                 K2o.settings.readonly = p6o(s2o);
                             },
                             onGestureStart: function() {
                                 p2o.addClass('mbsc-sc-whl-a mbsc-sc-whl-anim');
                                 r9x('onWheelGestureStart', {
                                     index: s2o
                                 });
                             },
                             onGestureEnd: function(o2o) {
                                 var d2o = o2o.direction == 90 ? 1 : 2,
                                     E2o = o2o.duration,
                                     e2o = o2o.destinationY;
                                 Y2o = Math.round(-e2o / l9x) + a2o._offset;
                                 a6o(a2o, s2o, Y2o, E2o, d2o);
                             },
                             onAnimationStart: function() {
                                 p2o.addClass('mbsc-sc-whl-anim');
                             },
                             onAnimationEnd: function() {
                                 p2o.removeClass('mbsc-sc-whl-a mbsc-sc-whl-anim');
                                 r9x('onWheelAnimationEnd', {
                                     index: s2o
                                 });
                                 a2o._$3d.find('.mbsc-sc-itm-del').remove();
                             },
                             onMove: function(N2o) {
                                 e6o(a2o, s2o, N2o.posY);
                             },
                             onBtnTap: function(j2o) {
                                 B6o(s2o, B9x(j2o.target));
                             }
                         });
                     });
                     x9x();
                 };
                 w9x._fillValue = function() {
                     w9x._hasValue = true;
                     O9x(true, true, 0, true);
                 };
                 w9x._clearValue = function() {
                     B9x('.mbsc-sc-whl-multi .mbsc-sc-itm-sel', S9x).removeClass(T9x).removeAttr('aria-selected');
                 };
                 w9x._readValue = function() {
                     var k2o = v9x.val() || '',
                         Q2o = 0;
                     if (k2o !== '') {
                         w9x._hasValue = true;
                     }
                     w9x._tempWheelArray = u9x = w9x._hasValue && w9x._wheelArray ? w9x._wheelArray.slice(0) : H9x.parseValue.call(n9x, k2o, w9x) || [];
                     w9x._tempSelected = y9x(true, {}, w9x._selected);
                     B9x.each(H9x.wheels, function(H2o, w2o) {
                         B9x.each(w2o, function(u2o, l2o) {
                             c9x[Q2o] = J6o(l2o, Q2o);
                             Q2o++;
                         });
                     });
                     O9x(false, false, 0, true);
                     r9x('onRead');
                 };
                 w9x.__processSettings = function() {
                     H9x = w9x.settings;
                     r9x = w9x.trigger;
                     X9x = H9x.multiline;
                     T9x = 'mbsc-sc-itm-sel mbsc-ic mbsc-ic-' + H9x.checkIcon;
                     c9x = [];
                     q9x = {};
                 };
                 w9x.__init = function() {
                     V9x = H9x.showScrollArrows;
                     A9x = H9x.scroll3d && !Q9x && !V9x;
                     l9x = H9x.height;
                     m9x = A9x ? Math.round((l9x - (l9x * H9x.rows / 2 + 3) * 0.03) / 2) * 2 : l9x;
                     M9x = Math.round(H9x.rows * 1.8);
                     W9x = 360 / (M9x * 2);
                     if (V9x) {
                         H9x.rows = Math.max(3, H9x.rows);
                     }
                     H9x.cssClass = (H9x.cssClass || '') + ' mbsc-sc';
                 };
                 w9x._getItemValue = C9x;
                 w9x._tempSelected = {};
                 w9x._selected = {};
                 if (!j6o) {
                     w9x.init(Y6o);
                 }
             };
             z9x.Scroller.prototype = {
                 _hasDef: true,
                 _hasTheme: true,
                 _hasLang: true,
                 _hasPreset: true,
                 _class: 'scroller',
                 _defaults: y9x({}, z9x.Frame.prototype._defaults, {
                     minWidth: 80,
                     height: 40,
                     rows: 3,
                     multiline: 1,
                     delay: 300,
                     readonly: false,
                     showLabel: true,
                     setOnTap: false,
                     wheels: [],
                     preset: '',
                     speedUnit: 0.0012,
                     timeUnit: 0.08,
                     checkIcon: 'checkmark',
                     validate: function() {},
                     formatValue: function(A2o) {
                         return A2o.join(' ');
                     },
                     parseValue: function(L2o, c2o) {
                         var r2o = [],
                             M2o = [],
                             T2o = 0,
                             t2o, n2o;
                         if (L2o !== null && L2o !== Y9x) {
                             r2o = (L2o + '').split(' ');
                         }
                         B9x.each(c2o.settings.wheels, function(X2o, V2o) {
                             B9x.each(V2o, function(F2o, P2o) {
                                 n2o = P2o.data;
                                 t2o = c2o._getItemValue(n2o[0]);
                                 B9x.each(n2o, function(I2o, Z2o) {
                                     if (r2o[T2o] == c2o._getItemValue(Z2o)) {
                                         t2o = c2o._getItemValue(Z2o);
                                         return false;
                                     }
                                 });
                                 M2o.push(t2o);
                                 T2o++;
                             });
                         });
                         return M2o;
                     }
                 })
             };
         }(window, document));
        (function(S3f) {
        var W3f = L9s,
            D3f = W3f.$,
            R0f = M9s.adjustedDate,
            z0f = {
                separator: ' ',
                dateFormat: 'mm/dd/yy',
                dateDisplay: 'MMddyy',
                timeFormat: 'h:ii A',
                dayText: 'Day',
                monthText: 'Month',
                yearText: 'Year',
                hourText: 'Hours',
                minuteText: 'Minutes',
                ampmText: '&nbsp;',
                secText: 'Seconds',
                nowText: 'Now',
                todayText: 'Today'
            },
            N0f = function(f0f) {
                function j0f(T21, f21, r11, x21, F21, l21, C21, P21) {
                    var a21, q21, h11, K21, c21, H21, j11, b21, y21, I11, G11, e11, s11, D11, z21, w21, N21, S11, W11, R21, i21 = {},
                        g11 = T0f.getDate(x21, F21, l21),
                        n11 = ['a', 'h', 'i', 's'];
                    if (T21) {
                        for (j11 = 0; j11 < T21.length; j11++) {
                            G11 = T21[j11];
                            if (G11.start) {
                                G11.apply = false;
                                h11 = G11.d;
                                N21 = h11 + '';
                                S11 = N21.split('/');
                                if (h11 && (h11.getTime && x21 == T0f.getYear(h11) && F21 == T0f.getMonth(h11) && l21 == T0f.getDay(h11) || !N21.match(/w/i) && (S11[1] && l21 == S11[1] && F21 == S11[0] - 1 || !S11[1] && l21 == S11[0]) || N21.match(/w/i) && g11.getDay() == +N21.replace('w', ''))) {
                                    G11.apply = true;
                                    i21[g11] = true;
                                }
                            }
                        }
                        for (j11 = 0; j11 < T21.length; j11++) {
                            G11 = T21[j11];
                            a21 = 0;
                            w21 = 0;
                            b21 = w0f[r11];
                            y21 = q0f[r11];
                            D11 = true;
                            z21 = true;
                            q21 = false;
                            if (G11.start && (G11.apply || !G11.d && !i21[g11])) {
                                e11 = G11.start.split(':');
                                s11 = G11.end.split(':');
                                for (I11 = 0; I11 < 3; I11++) {
                                    if (e11[I11] === S3f) {
                                        e11[I11] = 0;
                                    }
                                    if (s11[I11] === S3f) {
                                        s11[I11] = 59;
                                    }
                                    e11[I11] = +e11[I11];
                                    s11[I11] = +s11[I11];
                                }
                                if (r11 == 'tt') {
                                    b21 = H0f(Math.round((new Date(g11).setHours(e11[0], e11[1], e11[2]) - new Date(g11).setHours(0, 0, 0, 0)) / 1000), Q0f, 0, 86400);
                                    y21 = H0f(Math.round((new Date(g11).setHours(s11[0], s11[1], s11[2]) - new Date(g11).setHours(0, 0, 0, 0)) / 1000), Q0f, 0, 86400);
                                } else {
                                    e11.unshift(e11[0] > 11 ? 1 : 0);
                                    s11.unshift(s11[0] > 11 ? 1 : 0);
                                    if (P0f) {
                                        if (e11[1] >= 12) {
                                            e11[1] = e11[1] - 12;
                                        }
                                        if (s11[1] >= 12) {
                                            s11[1] = s11[1] - 12;
                                        }
                                    }
                                    for (I11 = 0; I11 < f21; I11++) {
                                        if (F0f[I11] !== S3f) {
                                            W11 = H0f(e11[I11], c0f[n11[I11]], w0f[n11[I11]], q0f[n11[I11]]);
                                            R21 = H0f(s11[I11], c0f[n11[I11]], w0f[n11[I11]], q0f[n11[I11]]);
                                            K21 = 0;
                                            c21 = 0;
                                            H21 = 0;
                                            if (P0f && I11 == 1) {
                                                K21 = e11[0] ? 12 : 0;
                                                c21 = s11[0] ? 12 : 0;
                                                H21 = F0f[0] ? 12 : 0;
                                            }
                                            if (!D11) {
                                                W11 = 0;
                                            }
                                            if (!z21) {
                                                R21 = q0f[n11[I11]];
                                            }
                                            if ((D11 || z21) && (W11 + K21 < F0f[I11] + H21 && F0f[I11] + H21 < R21 + c21)) {
                                                q21 = true;
                                            }
                                            if (F0f[I11] != W11) {
                                                D11 = false;
                                            }
                                            if (F0f[I11] != R21) {
                                                z21 = false;
                                            }
                                        }
                                    }
                                    if (!P21) {
                                        for (I11 = f21 + 1; I11 < 4; I11++) {
                                            if (e11[I11] > 0) {
                                                a21 = c0f[r11];
                                            }
                                            if (s11[I11] < q0f[n11[I11]]) {
                                                w21 = c0f[r11];
                                            }
                                        }
                                    }
                                    if (!q21) {
                                        W11 = H0f(e11[f21], c0f[r11], w0f[r11], q0f[r11]) + a21;
                                        R21 = H0f(s11[f21], c0f[r11], w0f[r11], q0f[r11]) - w21;
                                        if (D11) {
                                            b21 = W11;
                                        }
                                        if (z21) {
                                            y21 = R21;
                                        }
                                    }
                                }
                                if (D11 || z21 || q21) {
                                    for (I11 = b21; I11 <= y21; I11 += c0f[r11]) {
                                        C21[I11] = !P21;
                                    }
                                }
                            }
                        }
                    }
                }

                function g0f(J11, O11, k11, V11, B11, u11, o11) {
                    var X11, v11, L11, Y11;
                    if (J11) {
                        for (v11 = 0; v11 < J11.length; v11++) {
                            X11 = J11[v11];
                            Y11 = X11 + '';
                            if (!X11.start) {
                                if (X11.getTime) {
                                    if (T0f.getYear(X11) == O11 && T0f.getMonth(X11) == k11) {
                                        u11[T0f.getDay(X11)] = o11;
                                    }
                                } else if (!Y11.match(/w/i)) {
                                    Y11 = Y11.split('/');
                                    if (Y11[1]) {
                                        if (Y11[0] - 1 == k11) {
                                            u11[Y11[1]] = o11;
                                        }
                                    } else {
                                        u11[Y11[0]] = o11;
                                    }
                                } else {
                                    Y11 = +Y11.replace('w', '');
                                    for (L11 = Y11 - V11; L11 < B11; L11 += 7) {
                                        if (L11 >= 0) {
                                            u11[L11 + 1] = o11;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }

                function s0f(M11, p11) {
                    var Q11, m11, Z11;
                    if (p11) {
                        for (m11 = 0; m11 < p11.length; m11++) {
                            Q11 = p11[m11];
                            Z11 = Q11 + '';
                            if (!Q11.start) {
                                if (Q11.getTime) {
                                    if (M11.getFullYear() == Q11.getFullYear() && M11.getMonth() == Q11.getMonth() && M11.getDate() == Q11.getDate()) {
                                        return true;
                                    }
                                } else if (!Z11.match(/w/i)) {
                                    Z11 = Z11.split('/');
                                    if (Z11[1]) {
                                        if (Z11[0] - 1 == M11.getMonth() && Z11[1] == M11.getDate()) {
                                            return true;
                                        }
                                    } else if (Z11[0] == M11.getDate()) {
                                        return true;
                                    }
                                } else {
                                    Z11 = +Z11.replace('w', '');
                                    if (Z11 == M11.getDay()) {
                                        return true;
                                    }
                                }
                            }
                        }
                    }
                    return false;
                }

                function x0f(t11, U11) {
                    if (!U11 && t11 < b0f) {
                        return false;
                    }
                    if (!U11 && t11 > a0f) {
                        return false;
                    }
                    if (s0f(t11, L0f)) {
                        return true;
                    }
                    if (s0f(t11, X0f)) {
                        return false;
                    }
                    return true;
                }

                function F51(F11, C11) {
                    var w11, a11, P11 = false,
                        i11 = false,
                        A11 = 0,
                        E11 = 0,
                        d11 = b0f ? C0f(E0f(b0f)) : -Infinity,
                        x11 = a0f ? C0f(E0f(a0f)) : Infinity;
                    if (x0f(F11)) {
                        return F11;
                    }
                    if (F11 < d11) {
                        F11 = d11;
                    }
                    if (F11 > x11) {
                        F11 = x11;
                    }
                    w11 = F11;
                    a11 = F11;
                    if (C11 !== 2) {
                        P11 = x0f(w11);
                        while (!P11 && w11 < x11) {
                            w11 = new Date(w11.getTime() + 1000 * 60 * 60 * 24);
                            P11 = x0f(w11);
                            A11++;
                        }
                    }
                    if (C11 !== 1) {
                        i11 = x0f(a11);
                        while (!i11 && a11 > d11) {
                            a11 = new Date(a11.getTime() - 1000 * 60 * 60 * 24);
                            i11 = x0f(a11);
                            E11++;
                        }
                    }
                    if (C11 === 1 && P11) {
                        return w11;
                    }
                    if (C11 === 2 && i11) {
                        return a11;
                    }
                    return E11 <= A11 && i11 ? a11 : w11;
                }

                function w51(q11) {
                    var l11, c11, K11, H11 = {};
                    if (q11.is('input')) {
                        switch (q11.attr('type')) {
                            case 'date':
                                l11 = 'yy-mm-dd';
                                break;
                            case 'datetime':
                                l11 = 'yy-mm-ddTHH:ii:ssZ';
                                break;
                            case 'datetime-local':
                                l11 = 'yy-mm-ddTHH:ii:ss';
                                break;
                            case 'month':
                                l11 = 'yy-mm';
                                H11.dateOrder = 'mmyy';
                                break;
                            case 'time':
                                l11 = 'HH:ii:ss';
                                break;
                        }
                        H11.format = l11;
                        c11 = q11.attr('min');
                        K11 = q11.attr('max');
                        if (c11) {
                            H11.min = M9s.parseDate(l11, c11);
                        }
                        if (K11) {
                            H11.max = M9s.parseDate(l11, K11);
                        }
                    }
                    return H11;
                }

                function a51(y11, b11) {
                    return b11 ? Math.floor(new Date(y11) / 86400000) : y11.getMonth() + 12 * (y11.getFullYear() - 1970);
                }

                function E0f(R11, f11) {
                    var z11, W51, N11 = ['y', 'm', 'd', 'a', 'h', 'i', 's', 'u', 'dd', 'tt'],
                        T11 = [];
                    if (R11 === null || R11 === S3f) {
                        return R11;
                    }
                    for (z11 = 0; z11 < N11.length; z11++) {
                        W51 = N11[z11];
                        if (y0f[W51] !== S3f) {
                            T11[y0f[W51]] = l0f[W51](R11);
                        }
                        if (f11) {
                            A0f[W51] = l0f[W51](R11);
                        }
                    }
                    return T11;
                }

                function C0f(n51) {
                    var G51, j51 = new Date(new Date().setHours(0, 0, 0, 0));
                    if (n51 === null) {
                        return n51;
                    }
                    if (y0f.dd !== S3f) {
                        G51 = n51[y0f.dd].split('-');
                        G51 = new Date(G51[0], G51[1] - 1, G51[2]);
                    }
                    if (y0f.tt !== S3f) {
                        G51 = G51 || j51;
                        G51 = new Date(G51.getTime() + n51[y0f.tt] % 86400 * 1000);
                    }
                    var g51 = K0f(n51, 'y', G51, j51),
                        h51 = K0f(n51, 'm', G51, j51),
                        D51 = Math.min(K0f(n51, 'd', G51, j51), T0f.getMaxDayOfMonth(g51, h51)),
                        S51 = K0f(n51, 'h', G51, j51);
                    return T0f.getDate(g51, h51, D51, P0f && K0f(n51, 'a', G51, j51) ? S51 + 12 : S51, K0f(n51, 'i', G51, j51), K0f(n51, 's', G51, j51), K0f(n51, 'u', G51, j51));
                }

                function K0f(e51, O51, s51, r51) {
                    var I51;
                    if (y0f[O51] !== S3f) {
                        I51 = +e51[y0f[O51]];
                        if (!isNaN(I51)) {
                            return I51;
                        }
                    }
                    if (s51) {
                        return l0f[O51](s51);
                    }
                    if (A0f[O51] !== S3f) {
                        return A0f[O51];
                    }
                    return l0f[O51](r51);
                }

                function T51(V51) {
                    return H0f(Math.round((V51.getTime() - new Date(V51).setHours(0, 0, 0, 0)) / 1000), Q0f, 0, 86400);
                }

                function W0f(B51) {
                    return B51.getFullYear() + '-' + z51(B51.getMonth() + 1) + '-' + z51(B51.getDate());
                }

                function f51(k51) {
                    return k51.getHours() > 11 ? 1 : 0;
                }

                function y51(J51) {
                    return J51.getMilliseconds();
                }

                function b51(o51) {
                    return H0f(o51.getSeconds(), Z0f, u0f, B0f);
                }

                function l51(u51) {
                    return H0f(u51.getMinutes(), i0f, U0f, V0f);
                }

                function H51(v51) {
                    var L51 = v51.getHours();
                    L51 = P0f && L51 >= 12 ? L51 - 12 : L51;
                    return H0f(L51, t0f, m0f, I0f);
                }

                function q51(X51) {
                    return T0f.getDay(X51);
                }

                function c51(Y51) {
                    return T0f.getMonth(Y51);
                }

                function K51(p51) {
                    return T0f.getYear(p51);
                }

                function J0f(M51, Q51, m51) {
                    return Math.floor((m51 - Q51) / M51) * M51 + Q51;
                }

                function H0f(t51, A51, U51, Z51) {
                    return Math.min(Z51, Math.floor(t51 / A51) * A51 + U51);
                }

                function R51(C51) {
                    var d51, x51, P51, E51 = [];
                    if (C51) {
                        for (d51 = 0; d51 < C51.length; d51++) {
                            x51 = C51[d51];
                            if (x51.start && x51.start.getTime) {
                                P51 = new Date(x51.start);
                                while (P51 <= x51.end) {
                                    E51.push(R0f(P51.getFullYear(), P51.getMonth(), P51.getDate()));
                                    P51.setDate(P51.getDate() + 1);
                                }
                            } else {
                                E51.push(x51);
                            }
                        }
                        return E51;
                    }
                    return C51;
                }
				
				function ai(a) {
					return {
						value: a,
						display: (/yy/i.test(Y0f) ? a : (a + '').substr(2, 2)) + (T0f.yearSuffix || '')
					};
				}
				 
				function ad(a) {
					return a;
				}
				
				function ak(b) {
					var a = /d/i.test(b);
					
					return {
						label: '',
						cssClass: 'mbsc-dt-whl-date',
						min: a51(W0f(b0f), a),
						max: a51(W0f(a0f), a),
						data: function(e) {
							var g = new Date(new Date().setHours(0, 0, 0, 0)),
								d = a ? new Date(e * 8.64e7) : new Date(1970, e, 1);
							if (a) {
								d = new Date(d.getUTCFullYear(), d.getUTCMonth(), d.getUTCDate());
							}
							return {
								invalid: a && !x0f(d, true),
								value: W0f(d),
								display: g.getTime() == d.getTime() ? T0f.todayText : M9s.formatDate(b, d, T0f)
							};
						},
						getIndex: function(b) {
							return a51(b, a);
						}
					};
				}
				

				 function a6() {
						var p, s, c, l, b, g, e, n, d = 0,
							o = [],
							m = [],
							i = [];
						if (M0f.match(/date/i)) {
							p = SS0f.split(/\|/.test(SS0f) ? '|' : '');
							for (l = 0; l < p.length; l++) {
								c = p[l];
								g = 0;
								if (c.length) {
									if (/y/i.test(c)) {
										g++;
									}
									if (/m/i.test(c)) {
										g++;
									}
									if (/d/i.test(c)) {
										g++;
									}
									

									if (g > 1 && y0f.dd === S3f) {
										y0f.dd = d;
										d++;
										m.push(ak(c));
										i = m;
										a2 = true;
									} else if (/y/i.test(c) && y0f.y === S3f) {
										y0f.y = d;
										d++;
										m.push({
											cssClass: 'mbsc-dt-whl-y',
											label: T0f.yearText,
											min: T0f.getYear(b0f),
											max: T0f.getYear(a0f),
											data: ai,
											getIndex: ad
										});
									} else if (/m/i.test(c) && y0f.m === S3f) {
										y0f.m = d;
										e = [];
										d++;
										for (b = 0; b < 12; b++) {
											n = Y0f.replace(/[dy]/gi, '').replace(/mm/, z51(b + 1) + (T0f.monthSuffix || '')).replace(/m/, b + 1 + (T0f.monthSuffix || ''));
											e.push({
												value: b,
												display: /MM/.test(n) ? n.replace(/MM/, '<span class="mbsc-dt-month">' + T0f.monthNames[b] + '</span>') : n.replace(/M/, '<span class="mbsc-dt-month">' + T0f.monthNamesShort[b] + '</span>')
											});
										}
										m.push({
											cssClass: 'mbsc-dt-whl-m',
											label: T0f.monthText,
											data: e
										});
									} else if (/d/i.test(c) && y0f.d === S3f) {
										y0f.d = d;
										e = [];
										d++;
										for (b = 1; b < 32; b++) {
											e.push({
												value: b,
												display: (/dd/i.test(Y0f) ? z51(b) : b) + (T0f.daySuffix || '')
											});
										}
										m.push({
											cssClass: 'mbsc-dt-whl-d',
											label: T0f.dayText,
											data: e
										});
									}
								}
							}
							o.push(m);
						}
						if (M0f.match(/time/i)) {
							s = h0f.split(/\|/.test(h0f) ? '|' : '');
							for (l = 0; l < s.length; l++) {
								c = s[l];
								g = 0;
								if (c.length) {
									if (/h/i.test(c)) {
										g++;
									}
									if (/i/i.test(c)) {
										g++;
									}
									if (/s/i.test(c)) {
										g++;
									}
									if (/a/i.test(c)) {
										g++;
									}
								}
								if (g > 1 && y0f.tt === S3f) {
									y0f.tt = d;
									d++;
									i.push(ab(c));
								} else if (/h/i.test(c) && y0f.h === S3f) {
									e = [];
									y0f.h = d;
									d++;
									for (b = m0f; b < (P0f ? 12 : 24); b += t0f) {
										e.push({
											value: b,
											display: P0f && b === 0 ? 12 : /hh/i.test(G0f) ? z51(b) : b
										});
									}
									i.push({
										cssClass: 'mbsc-dt-whl-h',
										label: T0f.hourText,
										data: e
									});
								} else if (/i/i.test(c) && y0f.i === S3f) {
									e = [];
									y0f.i = d;
									d++;
									for (b = U0f; b < 60; b += i0f) {
										e.push({
											value: b,
											display: /ii/i.test(G0f) ? z51(b) : b
										});
									}
									i.push({
										cssClass: 'mbsc-dt-whl-i',
										label: T0f.minuteText,
										data: e
									});
								} else if (/s/i.test(c) && y0f.s === S3f) {
									e = [];
									y0f.s = d;
									d++;
									for (b = O; b < 60; b += z) {
										e.push({
											value: b,
											display: /ss/i.test(G0f) ? z51(b) : b
										});
									}
									i.push({
										cssClass: 'mbsc-dt-whl-s',
										label: T0f.secText,
										data: e
									});
								} else if (/a/i.test(c) && y0f.a === S3f) {
									y0f.a = d;
									d++;
									i.push({
										cssClass: 'mbsc-dt-whl-a',
										label: T0f.ampmText,
										data: /A/.test(c) ? [{
											value: 0,
											display: T0f.amText.toUpperCase()
										}, {
											value: 1,
											display: T0f.pmText.toUpperCase()
										}] : [{
											value: 0,
											display: T0f.amText
										}, {
											value: 1,
											display: T0f.pmText
										}]
									});
								}
							}
							if (i != m) {
								o.push(i);
							}
						}
						return o;
					}
				

                function z51(i51) {
                    return i51 < 10 ? '0' + i51 : i51;
                }

                var Q0f, r0f, D0f, y0f = {},
                    A0f = {},
                    F0f = [],
                    k0f = w51(D3f(this)),
                    e0f = D3f.extend({}, f0f.settings),
                    T0f = D3f.extend(f0f.settings, W3f.util.datetime.defaults, z0f, k0f, e0f),
                    X0f = R51(T0f.invalid),
                    L0f = R51(T0f.valid),
                    M0f = T0f.preset,
                    p0f = M0f == 'datetime' ? T0f.dateFormat + T0f.separator + T0f.timeFormat : M0f == 'time' ? T0f.timeFormat : T0f.dateFormat,
                    O0f = k0f.format || p0f,
					SS0f = T0f.dateWheels || T0f.dateFormat,
                    h0f = T0f.timeWheels || T0f.timeFormat,
                    Y0f = T0f.dateWheels || T0f.dateDisplay,
                    G0f = h0f,
                    n0f = T0f.baseTheme || T0f.theme,
                    b0f = T0f.min || R0f(new Date().getFullYear() - 100, 0, 1),
                    a0f = T0f.max || R0f((new Date().getFullYear() + 100), 11, 31, 23, 59, 59),
                    o0f = /time/i.test(M0f),
                    P0f = /h/.test(G0f),
                    S0f = /D/.test(Y0f),
                    d0f = T0f.steps || {},
                    t0f = d0f.hour || T0f.stepHour || 1,
                    i0f = d0f.minute || T0f.stepMinute || 1,
                    Z0f = d0f.second || T0f.stepSecond || 1,
                    v0f = d0f.zeroBased,
                    m0f = v0f || !b0f ? 0 : b0f.getHours() % t0f,
                    U0f = v0f || !b0f ? 0 : b0f.getMinutes() % i0f,
                    u0f = v0f || !b0f ? 0 : b0f.getSeconds() % Z0f,
                    I0f = J0f(t0f, m0f, P0f ? 11 : 23),
                    V0f = J0f(i0f, U0f, 59),
                    B0f = J0f(i0f, U0f, 59),
                    w0f = {
                        y: b0f ? b0f.getFullYear() : -Infinity,
                        m: 0,
                        d: 1,
                        h: m0f,
                        i: U0f,
                        s: u0f,
                        a: 0,
                        tt: 0
                    },
                    q0f = {
                        y: a0f ? a0f.getFullYear() : Infinity,
                        m: 11,
                        d: 31,
                        h: I0f,
                        i: V0f,
                        s: B0f,
                        a: 1,
                        tt: 86400
                    },
                    c0f = {
                        y: 1,
                        m: 1,
                        d: 1,
                        h: t0f,
                        i: i0f,
                        s: Z0f,
                        a: 1,
                        tt: 1
                    },
                    N51 = {
                        'android-holo': 40,
                        bootstrap: 46,
                        ios: 50,
                        jqm: 46,
                        material: 46,
                        mobiscroll: 46,
                        wp: 50
                    },
                    l0f = {
                        y: K51,
                        m: c51,
                        d: q51,
                        h: H51,
                        i: l51,
                        s: b51,
                        u: y51,
                        a: f51,
                        dd: W0f,
                        tt: T51
                    };
                f0f.getDate = f0f.getVal = function(d21) {
                    return f0f._hasValue || d21 ? C0f(f0f.getArrayVal(d21)) : null;
                };
                f0f.setDate = function(E21, A21, t21, U21, Z21) {
                    f0f.setArrayVal(E0f(E21), A21, Z21, U21, t21);
                };

				D0f = a6();

                f0f.format = p0f;
                f0f.order = y0f;
				
                f0f.handlers.now = function() {
                    f0f.setDate(new Date(), f0f.live, 1000, true, true);
                };
                f0f.buttons.now = {
                    text: T0f.nowText,
                    icon: T0f.nowIcon,
                    handler: 'now'
                };
                return {
                    minWidth: r0f && o0f ? N51[n0f] : S3f,
                    compClass: 'mbsc-dt',
                    wheels: D0f,
                    headerText: T0f.headerText ? function() {
                        return M9s.formatDate(p0f, C0f(f0f.getArrayVal(true)), T0f);
                    } : false,
                    formatValue: function(M21) {
                        return M9s.formatDate(O0f, C0f(M21), T0f);
                    },
                    parseValue: function(Q21) {
                        if (!Q21) {
                            A0f = {};
                        }
                        return E0f(Q21 ? M9s.parseDate(O0f, Q21, T0f) : T0f.defaultValue && T0f.defaultValue.getTime ? T0f.defaultValue : new Date(), !!Q21 && !!Q21.getTime);
                    },
                    validate: function(s21) {
                        var m21, v21, J21, r21, G21 = s21.values,
                            V21 = s21.index,
                            e21 = s21.direction,
                            L21 = f0f.settings.wheels[0][y0f.d],
                            X21 = F51(C0f(G21), e21),
                            O21 = E0f(X21),
                            u21 = [],
                            I21 = {},
                            Y21 = l0f.y(X21),
                            p21 = l0f.m(X21),
                            o21 = T0f.getMaxDayOfMonth(Y21, p21),
                            k21 = true,
                            B21 = true;
                        D3f.each(['dd', 'y', 'm', 'd', 'tt', 'a', 'h', 'i', 's'], function(W21, n21) {
                            if (y0f[n21] !== S3f) {
                                var g21 = w0f[n21],
                                    h21 = q0f[n21],
                                    j21 = l0f[n21](X21);
                                u21[y0f[n21]] = [];
                                if (k21 && b0f) {
                                    g21 = l0f[n21](b0f);
                                }
                                if (B21 && a0f) {
                                    h21 = l0f[n21](a0f);
                                }
                                if (n21 != 'y' && n21 != 'dd') {
                                    for (v21 = w0f[n21]; v21 <= q0f[n21]; v21 += c0f[n21]) {
                                        if (v21 < g21 || v21 > h21) {
                                            u21[y0f[n21]].push(v21);
                                        }
                                    }
                                }
                                if (j21 < g21) {
                                    j21 = g21;
                                }
                                if (j21 > h21) {
                                    j21 = h21;
                                }
                                if (k21) {
                                    k21 = j21 == g21;
                                }
                                if (B21) {
                                    B21 = j21 == h21;
                                }
                                if (n21 == 'd') {
                                    var D21 = T0f.getDate(Y21, p21, 1).getDay(),
                                        S21 = {};
                                    g0f(X0f, Y21, p21, D21, o21, S21, 1);
                                    g0f(L0f, Y21, p21, D21, o21, S21, 0);
                                    D3f.each(S21, function(R61, z61) {
                                        if (z61) {
                                            u21[y0f[n21]].push(R61);
                                        }
                                    });
                                }
                            }
                        });
                        if (o0f) {
                            D3f.each(['a', 'h', 'i', 's', 'tt'], function(f61, N61) {
                                var b61 = l0f[N61](X21),
                                    y61 = l0f.d(X21),
                                    T61 = {};
                                if (y0f[N61] !== S3f) {
                                    j0f(X0f, f61, N61, Y21, p21, y61, T61, 0);
                                    j0f(L0f, f61, N61, Y21, p21, y61, T61, 1);
                                    D3f.each(T61, function(l61, H61) {
                                        if (H61) {
                                            u21[y0f[N61]].push(l61);
                                        }
                                    });
                                    F0f[f61] = f0f.getValidValue(y0f[N61], b61, e21, T61);
                                }
                            });
                        }
                        if (L21 && (L21._length !== o21 || S0f && (V21 === S3f || V21 === y0f.y || V21 === y0f.m))) {
                            I21[y0f.d] = L21;
                            L21.data = [];
                            for (m21 = 1; m21 <= o21; m21++) {
                                r21 = T0f.getDate(Y21, p21, m21).getDay();
                                J21 = Y0f.replace(/[my]/gi, '').replace(/dd/, (m21 < 10 ? '0' + m21 : m21) + (T0f.daySuffix || '')).replace(/d/, m21 + (T0f.daySuffix || ''));
                                L21.data.push({
                                    value: m21,
                                    display: J21.match(/DD/) ? J21.replace(/DD/, '<span class="mbsc-dt-day">' + T0f.dayNames[r21] + '</span>') : J21.replace(/D/, '<span class="mbsc-dt-day">' + T0f.dayNamesShort[r21] + '</span>')
                                });
                            }
                            f0f._tempWheelArray[y0f.d] = O21[y0f.d];
                            f0f.changeWheel(I21);
                        }
                        return {
                            disabled: u21,
                            valid: O21
                        };
                    }
                };
            };
        D3f.each(['date', 'time', 'datetime'], function(c61, q61) {
            W3f.presets.scroller[q61] = N0f;
        });
}());
         (function(d3o, h3o, B3o) {
             var p3o = L9s,
                 J3o = p3o.$,
                 G3o = p3o.presets.scroller,
                 s3o = p3o.util,
                 a3o = s3o.datetime.adjustedDate,
                 o3o = s3o.jsPrefix,
                 z3o = s3o.testTouch,
                 Y3o = s3o.getCoord,
                 f3o = s3o.animEnd,
                 y3o = new Date(),
                 K3o = {
                     min: new Date(y3o.getFullYear() - 100, 0, 1),
                     max: new Date(y3o.getFullYear() + 1, 11, 31, 23, 59, 59),
                     controls: ['calendar'],
                     firstDay: 0,
                     weekDays: 'short',
                     maxMonthWidth: 170,
                     months: 1,
                     preMonths: 1,
                     highlight: true,
                     outerMonthChange: true,
                     quickNav: true,
                     yearChange: true,
                     todayClass: 'mbsc-cal-today',
                     btnCalPrevClass: 'mbsc-ic mbsc-ic-arrow-left6',
                     btnCalNextClass: 'mbsc-ic mbsc-ic-arrow-right6',
                     dateText: 'Date',
                     timeText: 'Time',
                     calendarText: 'Calendar',
                     todayText: 'Today',
                     prevMonthText: 'Previous Month',
                     nextMonthText: 'Next Month',
                     prevYearText: 'Previous Year',
                     nextYearText: 'Next Year'
                 };
             G3o.calbase = function(N3o) {
                 function H6n(P5n) {
                     return P5n[0].innerWidth || P5n.innerWidth();
                 }

                 function C9o() {
                     J3o(this).removeClass('mbsc-cal-p-out mbsc-cal-p-in');
                 }

                 function d9o(V5n, X5n) {
                     if ((X5n || V5n).hasClass('mbsc-cal-v')) {
                         J9o(V5n);
                     } else {
                         X9o(V5n);
                     }
                 }

                 function J9o(t5n, n5n) {
                     if (t5n.hasClass('mbsc-cal-v')) {
                         t5n.removeClass('mbsc-cal-v mbsc-cal-p-in').addClass('mbsc-cal-h' + (n5n ? '' : ' mbsc-cal-p-out'));
                     }
                 }

                 function X9o(M5n, T5n) {
                     if (!M5n.hasClass('mbsc-cal-v')) {
                         M5n.addClass('mbsc-cal-v' + (T5n ? '' : ' mbsc-cal-p-in')).removeClass('mbsc-cal-p-out mbsc-cal-h');
                         N3o.trigger('onSelectShow');
                     }
                 }

                 function K6n(r5n) {
                     if (V3o && E3o.getDate(H3o, k3o, 1) >= E3o.getDate(E3o.getYear(n3o) + 1, E3o.getMonth(n3o) + l3o, 1)) {
                         R3o(--H3o, k3o, 'prev', w3o, true, true, function() {
                             K6n(r5n);
                         });
                     } else if (V3o && !r5n.hasClass('mbsc-fr-btn-d')) {
                         R3o(E3o.getYear(n3o), E3o.getMonth(n3o) + l3o, 'prev', w3o, true, true);
                     }
                 }

                 function y6n(L5n) {
                     if (V3o && E3o.getDate(H3o, k3o, 1) <= E3o.getDate(E3o.getYear(T3o) - 1, E3o.getMonth(T3o) - M9o, 1)) {
                         R3o(++H3o, k3o, 'next', w3o, true, true, function() {
                             y6n(L5n);
                         });
                     } else if (V3o && !L5n.hasClass('mbsc-fr-btn-d')) {
                         R3o(E3o.getYear(T3o), E3o.getMonth(T3o) - M9o, 'next', w3o, true, true);
                     }
                 }

                 function W9o() {
                     if (V3o && E3o.getDate(H3o, k3o - l3o - 1, 1) >= n3o) {
                         R3o(H3o, --k3o, 'prev', 1, false, true, W9o);
                     }
                 }

                 function S9o() {
                     if (V3o && E3o.getDate(H3o, k3o + Q3o - l3o, 1) <= T3o && L9s.SJbOo) {
                         R3o(H3o, ++k3o, 'next', 1, false, true, S9o);
                     }
                 }

                 function Q6n(c5n) {
                     if (N3o.isVisible() && t3o) {
                         if (!N3o.changing) {
                             N9o(H3o, k3o, c5n);
                         } else {
                             t9o = c5n;
                         }
                     }
                 }

                 function g9o(A5n, u5n) {
                     A5n.attr('data-curr', u5n);
                     A5n[0].style[o3o + 'Transform'] = 'translate3d(' + (M3o ? '0,' + u5n + '%,' : u5n + '%,' + '0,') + '0)';
                 }

                 function L6n() {
                     var N5n = J3o(this),
                         k5n = N3o.live,
                         j5n = N3o.getDate(true),
                         w5n = N5n.attr('data-full'),
                         Q5n = w5n.split('-'),
                         e5n = a3o(Q5n[0], Q5n[1], Q5n[2]),
                         H5n = a3o(e5n.getFullYear(), e5n.getMonth(), e5n.getDate(), j5n.getHours(), j5n.getMinutes(), j5n.getSeconds()),
                         l5n = N5n.hasClass('mbsc-cal-day-sel');
                     if (!n9o && N5n.hasClass('mbsc-cal-day-diff')) {
                         return;
                     }
                     if (N3o.trigger('onDayChange', J3o.extend(O9o[w5n], {
                             date: H5n,
                             target: this,
                             selected: l5n
                         })) !== false) {
                         N3o.needsSlide = false;
                         m9o = true;
                         N3o.setDate(H5n, k5n, 0.2, !k5n, true);
                         if (E3o.outerMonthChange) {
                             V3o = true;
                             if (e5n < E3o.getDate(H3o, k3o - l3o, 1)) {
                                 W9o();
                             } else if (e5n > E3o.getDate(H3o, k3o - l3o + Q3o, 0)) {
                                 S9o();
                             }
                             V3o = false;
                         }
                         if (N3o.live) {
                             N3o.trigger('onSet', {
                                 valueText: N3o._value
                             });
                         }
                     }
                 }

                 function R3o(Y5n, f5n, y5n, G5n, K5n, h5n, o5n) {
                     if (Y5n) {
                         h9o.push({
                             y: Y5n,
                             m: f5n,
                             dir: y5n,
                             slideNr: G5n,
                             load: K5n,
                             active: h5n,
                             callback: o5n
                         });
                     }
                     if (f9o) {
                         return;
                     }
                     var z5n = h9o.shift(),
                         d5n;
                     Y5n = z5n.y;
                     f5n = z5n.m;
                     y5n = z5n.dir === 'next';
                     G5n = z5n.slideNr;
                     K5n = z5n.load;
                     h5n = z5n.active;
                     o5n = z5n.callback || L9o;
                     d5n = E3o.getDate(Y5n, f5n, 1);
                     Y5n = E3o.getYear(d5n);
                     f5n = E3o.getMonth(d5n);
                     f9o = true;
                     N3o.changing = true;
                     N3o.trigger('onMonthChange', {
                         year: Y5n,
                         month: f5n
                     });
                     N3o.trigger('onMonthLoading', {
                         year: Y5n,
                         month: f5n
                     });
                     N6n(Y5n, f5n);
                     if (K5n) {
                         for (e3o = 0; e3o < Q3o; e3o++) {
                             u3o[y5n ? P3o - Q3o + e3o : e3o].html(k9o(Y5n, f5n - l3o + e3o));
                         }
                     }
                     if (h5n) {
                         y9o.addClass('mbsc-cal-slide-a');
                     }
                     setTimeout(function() {
                         N3o.ariaMessage(E3o.monthNames[f5n] + ' ' + Y5n);
                         a6n(Y5n, f5n, 200);
                         x3o = y5n ? x3o - A3o * G5n * a9o : x3o + A3o * G5n * a9o;
                         S3o.scroll(x3o, h5n ? 200 : 0, false, function() {
                             var E5n;
                             if (u3o.length) {
                                 y9o.removeClass('mbsc-cal-slide-a').attr('aria-hidden', 'true');
                                 if (y5n) {
                                     E5n = u3o.splice(0, G5n);
                                     for (e3o = 0; e3o < G5n; e3o++) {
                                         u3o.push(E5n[e3o]);
                                         g9o(u3o[u3o.length - 1], +u3o[u3o.length - 2].attr('data-curr') + 100 * a9o);
                                     }
                                 } else {
                                     E5n = u3o.splice(P3o - G5n, G5n);
                                     for (e3o = G5n - 1; e3o >= 0; e3o--) {
                                         u3o.unshift(E5n[e3o]);
                                         g9o(u3o[0], +u3o[1].attr('data-curr') - 100 * a9o);
                                     }
                                 }
                                 for (e3o = 0; e3o < G5n; e3o++) {
                                     u3o[y5n ? P3o - G5n + e3o : e3o].html(k9o(Y5n, f5n - l3o - w3o + e3o + (y5n ? P3o - G5n : 0)));
                                     if (K5n) {
                                         u3o[y5n ? e3o : P3o - G5n + e3o].html(k9o(Y5n, f5n - l3o - w3o + e3o + (y5n ? 0 : P3o - G5n)));
                                     }
                                 }
                                 for (e3o = 0; e3o < Q3o; e3o++) {
                                     u3o[w3o + e3o].addClass('mbsc-cal-slide-a').removeAttr('aria-hidden');
                                 }
                                 b6n(Y5n, f5n);
                                 f9o = false;
                             }
                             if (h9o.length) {
                                 setTimeout(function() {
                                     R3o();
                                 }, 10);
                             } else {
                                 H3o = Y5n;
                                 k3o = f5n;
                                 N3o.changing = false;
                                 J3o('.mbsc-cal-day', B9o).attr('tabindex', -1);
                                 u6n();
                                 if (t9o !== B3o) {
                                     N9o(Y5n, f5n, t9o);
                                 } else {
                                     N3o.trigger('onMonthLoaded', {
                                         year: Y5n,
                                         month: f5n
                                     });
                                 }
                                 o5n();
                             }
                         });
                     }, 10);
                 }

                 function u6n() {
                     if (G9o) {
                         d6n.html(J3o('.mbsc-cal-week-nr-c', u3o[w3o]).html());
                     }
                     J3o('.mbsc-cal-slide-a .mbsc-cal-day', B9o).attr('tabindex', 0);
                 }

                 function b6n(p5n, B5n) {
                     var a5n = w3o,
                         s5n = w3o;
                     while (s5n && E3o.getDate(p5n, B5n + s5n + Q3o - l3o - 1, 1) > T3o) {
                         s5n--;
                     }
                     while (a5n && E3o.getDate(p5n, B5n - a5n - l3o, 1) < n3o) {
                         a5n--;
                     }
                     J3o.extend(S3o.settings, {
                         contSize: Q3o * A3o,
                         snap: A3o,
                         minScroll: x3o - (v3o ? a5n : s5n) * A3o,
                         maxScroll: x3o + (v3o ? s5n : a5n) * A3o
                     });
                     S3o.refresh();
                 }

                 function N9o(D5n, b5n, J5n) {
                     if (!J5n) {
                         N3o.trigger('onMonthLoading', {
                             year: D5n,
                             month: b5n
                         });
                     }
                     N6n(D5n, b5n);
                     for (e3o = 0; e3o < P3o; e3o++) {
                         u3o[e3o].html(k9o(D5n, b5n - l3o - w3o + e3o));
                     }
                     u6n();
                     t9o = B3o;
                     N3o.trigger('onMonthLoaded', {
                         year: D5n,
                         month: b5n
                     });
                 }

                 function J6n(C1n, g1n) {
                     if (t3o && (F3o === 'calendar' || g1n)) {
                         var S1n, W1n, q1n = E3o.getDate(H3o, k3o, 1),
                             U1n = Math.abs((E3o.getYear(C1n) - E3o.getYear(q1n)) * 12 + E3o.getMonth(C1n) - E3o.getMonth(q1n));
                         if (N3o.needsSlide && U1n) {
                             H3o = E3o.getYear(C1n);
                             k3o = E3o.getMonth(C1n);
                             if (C1n > q1n) {
                                 W1n = U1n > w3o - l3o + Q3o - 1;
                                 k3o -= W1n ? 0 : U1n - w3o;
                                 S1n = 'next';
                             } else if (C1n < q1n) {
                                 W1n = U1n > w3o + l3o;
                                 k3o += W1n ? 0 : U1n - w3o;
                                 S1n = 'prev';
                             }
                             R3o(H3o, k3o, S1n, Math.min(U1n, w3o), W1n, true);
                         }
                         if (!g1n) {
                             g3o = C1n;
                             r6n(C1n);
                         }
                         N3o.needsSlide = true;
                     }
                 }

                 function r6n(R1n) {
                     N3o.trigger('onDayHighlight', {
                         date: R1n
                     });
                     if (E3o.highlight) {
                         J3o('.mbsc-cal-day-sel .mbsc-cal-day-i', r3o).removeClass(W3o);
                         J3o('.mbsc-cal-day-sel', r3o).removeClass('mbsc-cal-day-sel').removeAttr('aria-selected');
                         J3o('.mbsc-cal-week-hl', r3o).removeClass('mbsc-cal-week-hl');
                         if (E3o.defaultValue !== null || N3o._hasValue) {
                             J3o('.mbsc-cal-day[data-full="' + R1n.getFullYear() + '-' + R1n.getMonth() + '-' + R1n.getDate() + '"]', r3o).addClass('mbsc-cal-day-sel').attr('aria-selected', 'true').find('.mbsc-cal-day-i').addClass(W3o).closest('.mbsc-cal-row').addClass('mbsc-cal-week-hl');
                         }
                     }
                 }

                 function V9o(v1n) {
                     v1n.addClass(p6n).find('.mbsc-cal-btn-txt').attr('aria-disabled', 'true');
                 }

                 function T9o(O1n) {
                     O1n.removeClass(p6n).find('.mbsc-cal-btn-txt').removeAttr('aria-disabled');
                 }

                 function a6n(F1n, Z1n, m1n) {
                     var I1n = E3o.getDate(F1n, Z1n, 1),
                         P1n = E3o.getYear(I1n),
                         i1n = E3o.getMonth(I1n),
                         x1n = P1n + u9o;
                     if (C3o) {
                         if (q3o) {
                             q3o.removeClass('mbsc-cal-sc-sel').removeAttr('aria-selected').find('.mbsc-cal-sc-cell-i').removeClass(W3o);
                         }
                         if (A9o) {
                             A9o.removeClass('mbsc-cal-sc-sel').removeAttr('aria-selected').find('.mbsc-cal-sc-cell-i').removeClass(W3o);
                         }
                         q3o = J3o('.mbsc-cal-year-s[data-val="' + P1n + '"]', j3o).addClass('mbsc-cal-sc-sel').attr('aria-selected', 'true');
                         A9o = J3o('.mbsc-cal-month-s[data-val="' + i1n + '"]', j3o).addClass('mbsc-cal-sc-sel').attr('aria-selected', 'true');
                         q3o.find('.mbsc-cal-sc-cell-i').addClass(W3o);
                         A9o.find('.mbsc-cal-sc-cell-i').addClass(W3o);
                         if (X3o) {
                             X3o.scroll(q3o, m1n);
                         }
                         J3o('.mbsc-cal-month-s', j3o).removeClass('mbsc-fr-btn-d');
                         if (P1n === z9o) {
                             for (e3o = 0; e3o < j6n; e3o++) {
                                 J3o('.mbsc-cal-month-s[data-val="' + e3o + '"]', j3o).addClass('mbsc-fr-btn-d');
                             }
                         }
                         if (P1n === F9o) {
                             for (e3o = h6n + 1; e3o <= 12; e3o++) {
                                 J3o('.mbsc-cal-month-s[data-val="' + e3o + '"]', j3o).addClass('mbsc-fr-btn-d');
                             }
                         }
                     }
                     if (K9o.length == 1) {
                         K9o.attr('aria-label', P1n).html(x1n);
                     }
                     for (e3o = 0; e3o < Q3o; ++e3o) {
                         I1n = E3o.getDate(F1n, Z1n - l3o + e3o, 1);
                         P1n = E3o.getYear(I1n);
                         i1n = E3o.getMonth(I1n);
                         x1n = P1n + u9o;
                         J3o(i9o[e3o]).attr('aria-label', E3o.monthNames[i1n] + (b9o ? '' : ' ' + P1n)).html((!b9o && r9o < c9o ? x1n + ' ' : '') + w9o[i1n] + (!b9o && r9o > c9o ? ' ' + x1n : ''));
                         if (K9o.length > 1) {
                             J3o(K9o[e3o]).html(x1n);
                         }
                     }
                     if (E3o.getDate(F1n, Z1n - l3o - 1, 1) < n3o) {
                         V9o(J3o('.mbsc-cal-prev-m', j3o));
                     } else {
                         T9o(J3o('.mbsc-cal-prev-m', j3o));
                     }
                     if (E3o.getDate(F1n, Z1n + Q3o - l3o, 1) > T3o) {
                         V9o(J3o('.mbsc-cal-next-m', j3o));
                     } else {
                         T9o(J3o('.mbsc-cal-next-m', j3o));
                     }
                     if (E3o.getDate(F1n, Z1n, 1).getFullYear() <= n3o.getFullYear()) {
                         V9o(J3o('.mbsc-cal-prev-y', j3o));
                     } else {
                         T9o(J3o('.mbsc-cal-prev-y', j3o));
                     }
                     if (E3o.getDate(F1n, Z1n, 1).getFullYear() >= T3o.getFullYear()) {
                         V9o(J3o('.mbsc-cal-next-y', j3o));
                     } else {
                         T9o(J3o('.mbsc-cal-next-y', j3o));
                     }
                 }

                 function k9o(V1n, X1n) {
                     var G1n, l1n, E1n, j1n, Q1n, t1n, o1n, u1n, z1n, L1n, e1n, w1n, N1n, n1n, A1n, K1n, h1n = 1,
                         r1n = 0,
                         M1n = E3o.getDate(V1n, X1n, 1),
                         T1n = E3o.getYear(M1n),
                         k1n = E3o.getMonth(M1n),
                         y1n = E3o.defaultValue === null && !N3o._hasValue ? null : N3o.getDate(true),
                         H1n = E3o.getDate(T1n, k1n, 1).getDay(),
                         d1n = '<div class="mbsc-cal-table">',
                         c1n = '<div class="mbsc-cal-week-nr-c">';
                     if (E3o.firstDay - H1n + 1 > 1) {
                         r1n = 7;
                     }
                     for (K1n = 0; K1n < 42; K1n++) {
                         A1n = K1n + E3o.firstDay - r1n;
                         G1n = E3o.getDate(T1n, k1n, A1n - H1n + 1);
                         E1n = G1n.getFullYear();
                         j1n = G1n.getMonth();
                         Q1n = G1n.getDate();
                         t1n = E3o.getMonth(G1n);
                         o1n = E3o.getDay(G1n);
                         n1n = E3o.getMaxDayOfMonth(E1n, j1n);
                         u1n = E1n + '-' + j1n + '-' + Q1n;
                         z1n = J3o.extend({
                             valid: M6n(G1n),
                             selected: y1n && y1n.getFullYear() === E1n && y1n.getMonth() === j1n && y1n.getDate() === Q1n
                         }, N3o.getDayProps(G1n, y1n));
                         L1n = z1n.valid;
                         e1n = z1n.selected;
                         l1n = z1n.cssClass;
                         w1n = new Date(G1n).setHours(12, 0, 0, 0) === new Date().setHours(12, 0, 0, 0);
                         N1n = t1n !== k1n;
                         O9o[u1n] = z1n;
                         if (K1n % 7 === 0) {
                             d1n += (K1n ? '</div>' : '') + '<div class="mbsc-cal-row' + (E3o.highlight && y1n && y1n - G1n >= 0 && y1n - G1n < 1000 * 60 * 60 * 24 * 7 ? ' mbsc-cal-week-hl' : '') + '">';
                         }
                         if (G9o && G1n.getDay() == 1) {
                             if (G9o == 'month' && N1n && h1n > 1) {
                                 h1n = Q1n == 1 ? 1 : 2;
                             } else if (G9o == 'year') {
                                 h1n = E3o.getWeekNumber(G1n);
                             }
                             c1n += '<div class="mbsc-cal-week-nr"><div class="mbsc-cal-week-nr-i">' + h1n + '</div></div>';
                             h1n++;
                         }
                         d1n += '<div role="button" tabindex="-1"' + ' aria-label="' + (w1n ? E3o.todayText + ', ' : '') + E3o.dayNames[G1n.getDay()] + ', ' + E3o.monthNames[t1n] + ' ' + o1n + ' ' + (z1n.ariaLabel ? ', ' + z1n.ariaLabel : '') + '"' + (N1n && !n9o ? ' aria-hidden="true"' : '') + (e1n ? ' aria-selected="true"' : '') + (L1n ? '' : ' aria-disabled="true"') + ' data-day="' + A1n % 7 + '"' + ' data-full="' + u1n + '"' + 'class="mbsc-cal-day ' + (E3o.dayClass || '') + (e1n ? ' mbsc-cal-day-sel' : '') + (w1n ? ' ' + E3o.todayClass : '') + (l1n ? ' ' + l1n : '') + (o1n == 1 ? ' mbsc-cal-day-first' : '') + (o1n == n1n ? ' mbsc-cal-day-last' : '') + (N1n ? ' mbsc-cal-day-diff' : '') + (L1n ? ' mbsc-cal-day-v mbsc-fr-btn-e mbsc-fr-btn-nhl' : ' mbsc-cal-day-inv') + '"><div class="mbsc-cal-day-i ' + (e1n ? W3o : '') + ' ' + (E3o.innerDayClass || '') + '">' + '<div class="mbsc-cal-day-fg">' + o1n + '</div>' + (z1n.markup || '') + '<div class="mbsc-cal-day-frame"></div></div></div>';
                     }
                     d1n += '</div></div>' + c1n + '</div>';
                     return d1n;
                 }

                 function l6n(J1n, a1n, Y1n, s1n, f1n, p1n, B1n) {
                     var b1n = '<div class="mbsc-cal-h mbsc-cal-sc-c mbsc-cal-' + J1n + '-c ' + (E3o.calendarClass || '') + '"><div class="mbsc-cal-sc"><div class="mbsc-cal-sc-p"><div class="mbsc-cal-sc-tbl"><div class="mbsc-cal-sc-row">';
                     for (e3o = 1; e3o <= a1n; e3o++) {
                         if (e3o <= 12 || e3o > Y1n) {
                             b1n += '<div class="mbsc-cal-sc-m-cell mbsc-cal-sc-cell mbsc-cal-sc-empty"><div class="mbsc-cal-sc-cell-i">&nbsp;</div></div>';
                         } else {
                             b1n += '<div tabindex="0" role="button"' + (p1n ? ' aria-label="' + p1n[e3o - 13] + '"' : '') + ' class="mbsc-fr-btn-e mbsc-fr-btn-nhl mbsc-cal-sc-m-cell mbsc-cal-sc-cell mbsc-cal-' + J1n + '-s" data-val=' + (s1n + e3o - 13) + '><div class="mbsc-cal-sc-cell-i mbsc-cal-sc-tbl"><div class="mbsc-cal-sc-cell">' + (B1n ? B1n[e3o - 13] : s1n + e3o - 13 + f1n) + '</div></div></div>';
                         }
                         if (e3o < a1n) {
                             if (e3o % 12 === 0) {
                                 b1n += '</div></div></div><div class="mbsc-cal-sc-p" style="' + (M3o ? 'top' : v3o ? 'right' : 'left') + ':' + Math.round(e3o / 12) * 100 + '%"><div class="mbsc-cal-sc-tbl"><div class="mbsc-cal-sc-row">';
                             } else if (e3o % 3 === 0) {
                                 b1n += '</div><div class="mbsc-cal-sc-row">';
                             }
                         }
                     }
                     b1n += '</div></div></div></div></div>';
                     return b1n;
                 }

                 function N6n(g6n, D1n) {
                     e6n = s6n(E3o.invalid, g6n, D1n);
                     E6n = s6n(E3o.valid, g6n, D1n);
                     N3o.onGenMonth(g6n, D1n);
                 }

                 function s6n(R6n, i6n, O6n) {
                     var m6n, I6n, F6n, x6n, Z6n = {},
                         v6n = w3o + M9o;
                     if (R6n) {
                         J3o.each(R6n, function(S6n, C6n) {
                             m6n = C6n.d || C6n.start || C6n;
                             I6n = m6n + '';
                             if (C6n.start && C6n.end) {
                                 x6n = new Date(C6n.start);
                                 while (x6n <= C6n.end) {
                                     F6n = a3o(x6n.getFullYear(), x6n.getMonth(), x6n.getDate());
                                     Z6n[F6n] = Z6n[F6n] || [];
                                     Z6n[F6n].push(C6n);
                                     x6n.setDate(x6n.getDate() + 1);
                                 }
                             } else if (m6n.getTime) {
                                 F6n = a3o(m6n.getFullYear(), m6n.getMonth(), m6n.getDate());
                                 Z6n[F6n] = Z6n[F6n] || [];
                                 Z6n[F6n].push(C6n);
                             } else if (!I6n.match(/w/i)) {
                                 I6n = I6n.split('/');
                                 if (I6n[1]) {
                                     if (O6n + v6n >= 11) {
                                         F6n = E3o.getDate(i6n + 1, I6n[0] - 1, I6n[1]);
                                         Z6n[F6n] = Z6n[F6n] || [];
                                         Z6n[F6n].push(C6n);
                                     }
                                     if (O6n - v6n <= 1) {
                                         F6n = E3o.getDate(i6n - 1, I6n[0] - 1, I6n[1]);
                                         Z6n[F6n] = Z6n[F6n] || [];
                                         Z6n[F6n].push(C6n);
                                     }
                                     F6n = E3o.getDate(i6n, I6n[0] - 1, I6n[1]);
                                     Z6n[F6n] = Z6n[F6n] || [];
                                     Z6n[F6n].push(C6n);
                                 } else {
                                     for (I3o = 0; I3o < P3o; I3o++) {
                                         F6n = E3o.getDate(i6n, O6n - w3o - l3o + I3o, I6n[0]);
                                         if (E3o.getDay(F6n) == I6n[0]) {
                                             Z6n[F6n] = Z6n[F6n] || [];
                                             Z6n[F6n].push(C6n);
                                         }
                                     }
                                 }
                             } else {
                                 var q6n = +I6n.replace('w', ''),
                                     U6n = 0,
                                     W6n = E3o.getDate(i6n, O6n - w3o - l3o, 1).getDay();
                                 if (E3o.firstDay - W6n + 1 > 1) {
                                     U6n = 7;
                                 }
                                 for (I3o = 0; I3o < P3o * 5; I3o++) {
                                     F6n = E3o.getDate(i6n, O6n - w3o - l3o, I3o * 7 - U6n - W6n + 1 + q6n);
                                     Z6n[F6n] = Z6n[F6n] || [];
                                     Z6n[F6n].push(C6n);
                                 }
                             }
                         });
                     }
                     return Z6n;
                 }

                 function M6n(P6n) {
                     if (P6n < a3o(E9o.getFullYear(), E9o.getMonth(), E9o.getDate())) {
                         return false;
                     }
                     if (P6n > A6n) {
                         return false;
                     }
                     return e6n[P6n] === B3o || E6n[P6n] !== B3o;
                 }

                 function o6n() {
                     Z9o = true;
                     if (i3o.hasClass('mbsc-cal-prev-m')) {
                         W9o();
                     } else if (i3o.hasClass('mbsc-cal-next-m')) {
                         S9o();
                     } else if (i3o.hasClass('mbsc-cal-prev-y')) {
                         K6n(i3o);
                     } else if (i3o.hasClass('mbsc-cal-next-y')) {
                         y6n(i3o);
                     }
                 }

                 function B6n(X6n) {
                     if (X6n.type == 'touchend') {
                         X6n.preventDefault();
                     }
                     if (i3o && !Z9o) {
                         o6n();
                     }
                     V3o = false;
                     if (X6n.type == 'mouseup') {
                         J3o(h3o).off('mousemove', Y6n).off('mouseup', B6n);
                     }
                 }

                 function Y6n(V6n) {
                     if (Math.abs(k6n - Y3o(V6n, 'X')) > 7 || Math.abs(w6n - Y3o(V6n, 'Y')) > 7) {
                         V3o = false;
                         i3o.removeClass('mbsc-fr-btn-a');
                     }
                 }

                 function T6n(t6n) {
                     var n6n;
                     i3o = J3o(this);
                     Z9o = false;
                     if (t6n.type != 'keydown') {
                         k6n = Y3o(t6n, 'X');
                         w6n = Y3o(t6n, 'Y');
                         n6n = z3o(t6n, this);
                     } else {
                         n6n = t6n.keyCode === 32;
                     }
                     if (!V3o && n6n && !i3o.hasClass('mbsc-fr-btn-d')) {
                         V3o = true;
                         setTimeout(o6n, 100);
                         if (t6n.type == 'mousedown') {
                             J3o(h3o).on('mousemove', Y6n).on('mouseup', B6n);
                         }
                     }
                 }
                 var p9o, e3o, I3o, R9o, l9o, j3o, v9o, r3o, B9o, A3o, x3o, m9o, t3o, U3o, j9o, d6n, O3o, Y9o, w9o, S3o, D9o, i9o, c9o, K9o, r9o, z9o, F9o, j6n, h6n, n3o, T3o, E9o, A6n, g3o, H3o, k3o, x9o, I9o, E6n, e6n, s9o, F3o, f9o, k6n, w6n, i3o, Z9o, V3o, Q3o, P3o, M9o, l3o, t9o, n9o, c6n, X3o, q3o, A9o, q9o = this,
                     y9o = [],
                     u3o = [],
                     h9o = [],
                     c3o = {},
                     O9o = {},
                     L9o = function() {},
                     G6n = J3o.extend({}, N3o.settings),
                     E3o = J3o.extend(N3o.settings, K3o, G6n),
                     z6n = E3o.weekDays == 'full' ? '' : E3o.weekDays == 'min' ? 'Min' : 'Short',
                     G9o = E3o.weekCounter,
                     U9o = E3o.layout || (/top|bottom|inline/.test(E3o.display) ? 'liquid' : ''),
                     m3o = U9o == 'liquid' && E3o.display !== 'bubble',
                     f6n = E3o.display == 'center',
                     v3o = E3o.rtl,
                     a9o = v3o ? -1 : 1,
                     D6n = m3o ? null : E3o.calendarWidth,
                     M3o = E3o.calendarScroll == 'vertical',
                     C3o = E3o.quickNav,
                     w3o = E3o.preMonths,
                     b9o = E3o.yearChange,
                     e9o = E3o.controls.join(','),
                     o9o = (E3o.tabs === true || E3o.tabs !== false && m3o) && E3o.controls.length > 1,
                     Q9o = !o9o && E3o.tabs === B3o && !m3o && E3o.controls.length > 1,
                     u9o = E3o.yearSuffix || '',
                     W3o = E3o.activeClass || '',
                     H9o = 'mbsc-cal-tab-sel ' + (E3o.activeTabClass || ''),
                     P9o = E3o.activeTabInnerClass || '',
                     p6n = 'mbsc-fr-btn-d ' + (E3o.disabledClass || ''),
                     Z3o = '',
                     L3o = '';
                 if (e9o.match(/calendar/)) {
                     t3o = true;
                 } else {
                     C3o = false;
                 }
                 if (e9o.match(/date/)) {
                     c3o.date = 1;
                 }
                 if (e9o.match(/time/)) {
                     c3o.time = 1;
                 }
                 if (t3o && c3o.date) {
                     o9o = true;
                     Q9o = false;
                 }
                 E3o.layout = U9o;
                 E3o.preset = (c3o.date || t3o ? 'date' : '') + (c3o.time ? 'time' : '');
                 if (E3o.display == 'inline') {
                     J3o(this).closest('[data-role="page"]').on('pageshow', function() {
                         N3o.position();
                     });
                 }
                 N3o.changing = false;
                 N3o.needsSlide = true;
                 N3o.getDayProps = L9o;
                 N3o.onGenMonth = L9o;
                 N3o.prepareObj = s6n;
                 N3o.refresh = function() {
                     Q6n(false);
                 };
                 N3o.redraw = function() {
                     Q6n(true);
                 };
                 N3o.navigate = function(I5n, i5n) {
                     var F5n, Z5n, x5n = N3o.isVisible();
                     if (i5n && x5n) {
                         J6n(I5n, true);
                     } else {
                         F5n = E3o.getYear(I5n);
                         Z5n = E3o.getMonth(I5n);
                         if (x5n && (F5n != H3o || Z5n != k3o)) {
                             N3o.trigger('onMonthChange', {
                                 year: F5n,
                                 month: Z5n
                             });
                             a6n(F5n, Z5n);
                             N9o(F5n, Z5n);
                             b6n(I5n.getFullYear(), I5n.getMonth());
                         }
                         H3o = F5n;
                         k3o = Z5n;
                     }
                 };
                 N3o.showMonthView = function() {
                     if (C3o && !Y9o) {
                         J9o(L3o, true);
                         J9o(Z3o, true);
                         X9o(O3o, true);
                         Y9o = true;
                     }
                 };
                 N3o.changeTab = function(m5n) {
                     if (!N3o._isVisible || !c3o[m5n] || F3o == m5n) {
                         return;
                     }
                     F3o = m5n;
                     J3o('.mbsc-cal-pnl', j3o).removeClass('mbsc-cal-p-in').addClass('mbsc-cal-pnl-h');
                     J3o('.mbsc-cal-tab', j3o).removeClass(H9o).removeAttr('aria-selected').find('.mbsc-cal-tab-i').removeClass(P9o);
                     J3o('.mbsc-cal-tab[data-control="' + m5n + '"]', j3o).addClass(H9o).attr('aria-selected', 'true').find('.mbsc-cal-tab-i').addClass(P9o);
                     c3o[F3o].removeClass('mbsc-cal-pnl-h').addClass('mbsc-cal-p-in');
                     if (F3o == 'calendar') {
                         p9o = N3o.getDate(true);
                         if (p9o.getFullYear() !== g3o.getFullYear() || p9o.getMonth() !== g3o.getMonth() || p9o.getDate() !== g3o.getDate()) {
                             J6n(p9o);
                         }
                     }
                     N3o.showMonthView();
                     N3o.trigger('onTabChange', {
                         tab: F3o
                     });
                 };
                 R9o = G3o.datetime.call(this, N3o);
                 c9o = (E3o.dateWheels || E3o.dateFormat).search(/m/i);
                 r9o = (E3o.dateWheels || E3o.dateFormat).search(/y/i);
                 J3o.extend(R9o, {
                     ariaMessage: E3o.calendarText,
                     onMarkupReady: function(C5n) {
                         var v5n, O5n, R5n = '';
                         j3o = J3o(C5n.target);
                         v9o = E3o.display == 'inline' ? J3o(this).is('div') ? J3o(this) : J3o(this).parent() : N3o._window;
                         g3o = N3o.getDate(true);
                         if (!H3o) {
                             H3o = E3o.getYear(g3o);
                             k3o = E3o.getMonth(g3o);
                         }
                         x3o = 0;
                         j9o = true;
                         f9o = false;
                         w9o = E3o.monthNames;
                         F3o = 'calendar';
                         if (E3o.min) {
                             n3o = a3o(E3o.min.getFullYear(), E3o.min.getMonth(), 1);
                             E9o = E3o.min;
                         }
                         if (E3o.max) {
                             T3o = a3o(E3o.max.getFullYear(), E3o.max.getMonth(), 1);
                             A6n = E3o.max;
                         }
                         j3o.addClass('mbsc-calendar');
                         l9o = J3o('.mbsc-fr-popup', j3o);
                         s9o = J3o('.mbsc-fr-c', j3o);
                         if (c3o.date) {
                             c3o.date = J3o('.mbsc-sc-whl-gr-c', j3o).eq(0);
                         } else if (t3o) {
                             J3o('.mbsc-sc-whl-gr-c', j3o).eq(0).addClass('mbsc-cal-hdn');
                         }
                         if (c3o.time) {
                             c3o.time = J3o('.mbsc-sc-whl-gr-c', j3o).eq(1);
                         }
                         if (t3o) {
                             Q3o = E3o.months == 'auto' ? Math.max(1, Math.min(3, Math.floor((D6n || H6n(v9o)) / 280))) : E3o.months;
                             P3o = Q3o + 2 * w3o;
                             M9o = Math.floor(Q3o / 2);
                             l3o = Math.round(Q3o / 2) - 1;
                             n9o = E3o.showOuterDays === B3o ? Q3o < 2 : E3o.showOuterDays;
                             M3o = M3o && Q3o < 2;
                             O5n = '<div class="mbsc-cal-btnw"><div class="' + (v3o ? 'mbsc-cal-next-m' : 'mbsc-cal-prev-m') + ' mbsc-cal-prev mbsc-cal-btn mbsc-fr-btn mbsc-fr-btn-e"><div role="button" tabindex="0" class="mbsc-cal-btn-txt ' + (E3o.btnCalPrevClass || '') + '"' + ' aria-label="' + E3o.prevMonthText + '"></div></div>';
                             for (e3o = 0; e3o < Q3o; ++e3o) {
                                 O5n += '<div class="mbsc-cal-btnw-m" style="width: ' + 100 / Q3o + '%"><span role="button" class="mbsc-cal-month"></span></div>';
                             }
                             O5n += '<div class="' + (v3o ? 'mbsc-cal-prev-m' : 'mbsc-cal-next-m') + ' mbsc-cal-next mbsc-cal-btn mbsc-fr-btn mbsc-fr-btn-e"><div role="button" tabindex="0" class="mbsc-cal-btn-txt ' + (E3o.btnCalNextClass || '') + '"' + ' aria-label="' + E3o.nextMonthText + '"></div></div></div>';
                             if (b9o) {
                                 R5n = '<div class="mbsc-cal-btnw"><div class="' + (v3o ? 'mbsc-cal-next-y' : 'mbsc-cal-prev-y') + ' mbsc-cal-prev mbsc-cal-btn mbsc-fr-btn mbsc-fr-btn-e"><div role="button" tabindex="0" class="mbsc-cal-btn-txt ' + (E3o.btnCalPrevClass || '') + '"' + ' aria-label="' + E3o.prevYearText + '"></div></div>' + '<span role="button" class="mbsc-cal-year"></span>' + '<div class="' + (v3o ? 'mbsc-cal-prev-y' : 'mbsc-cal-next-y') + ' mbsc-cal-next mbsc-cal-btn mbsc-fr-btn mbsc-fr-btn-e"><div role="button" tabindex="0" class="mbsc-cal-btn-txt ' + (E3o.btnCalNextClass || '') + '"' + ' aria-label="' + E3o.nextYearText + '"></div></div></div>';
                             }
                             if (C3o) {
                                 z9o = E3o.getYear(n3o);
                                 F9o = E3o.getYear(T3o);
                                 j6n = E3o.getMonth(n3o);
                                 h6n = E3o.getMonth(T3o);
                                 I9o = Math.ceil((F9o - z9o + 1) / 12) + 2;
                                 Z3o = l6n('month', 36, 24, 0, '', E3o.monthNames, E3o.monthNamesShort);
                                 L3o = l6n('year', I9o * 12, F9o - z9o + 13, z9o, u9o);
                             }
                             U3o = '<div class="mbsc-w-p mbsc-cal-c"><div class="mbsc-cal mbsc-cal-hl-now ' + (Q3o > 1 ? ' mbsc-cal-multi ' : '') + (G9o ? ' mbsc-cal-weeks ' : '') + (M3o ? ' mbsc-cal-vertical' : '') + (n9o ? '' : ' mbsc-cal-hide-diff ') + (E3o.calendarClass || '') + '">' + '<div class="mbsc-cal-header"><div class="mbsc-cal-btnc ' + (b9o ? 'mbsc-cal-btnc-ym' : 'mbsc-cal-btnc-m') + '">' + (r9o < c9o || Q3o > 1 ? R5n + O5n : O5n + R5n) + '</div></div><div class="mbsc-cal-body"><div class="mbsc-cal-m-c mbsc-cal-v"><div class="mbsc-cal-days-c">';
                             for (I3o = 0; I3o < Q3o; ++I3o) {
                                 U3o += '<div aria-hidden="true" class="mbsc-cal-days" style="width: ' + 100 / Q3o + '%"><table cellpadding="0" cellspacing="0"><tr>';
                                 for (e3o = 0; e3o < 7; e3o++) {
                                     U3o += '<th>' + E3o['dayNames' + z6n][(e3o + E3o.firstDay) % 7] + '</th>';
                                 }
                                 U3o += '</tr></table></div>';
                             }
                             U3o += '</div>' + '<div class="mbsc-cal-week-nrs-c ' + (E3o.weekNrClass || '') + '">' + '<div class="mbsc-cal-week-nrs"></div>' + '</div>' + '<div class="mbsc-cal-anim-c ' + (E3o.calendarClass || '') + '">' + '<div class="mbsc-cal-anim">';
                             for (e3o = 0; e3o < Q3o + 2 * w3o; e3o++) {
                                 U3o += '<div class="mbsc-cal-slide" aria-hidden="true"></div>';
                             }
                             U3o += '</div></div></div>' + Z3o + L3o + '</div></div></div>';
                             c3o.calendar = J3o(U3o);
                         }
                         J3o.each(E3o.controls, function(W5n, U5n) {
                             c3o[U5n] = J3o('<div class="mbsc-cal-pnl" id="' + (q9o.id + '_dw_pnl_' + W5n) + '"></div>').append(J3o('<div class="mbsc-cal-pnl-i"></div>').append(c3o[U5n])).appendTo(s9o);
                         });
                         v5n = '<div class="mbsc-cal-tabs"><ul role="tablist">';
                         J3o.each(E3o.controls, function(q5n, S5n) {
                             if (c3o[S5n]) {
                                 v5n += '<li role="tab" aria-controls="' + (q9o.id + '_dw_pnl_' + q5n) + '" class="mbsc-cal-tab ' + (q5n ? '' : H9o) + '" data-control="' + S5n + '"><a href="#" class="mbsc-fr-btn-e mbsc-fr-btn-nhl mbsc-cal-tab-i ' + (!q5n ? P9o : '') + '">' + E3o[S5n + 'Text'] + '</a></li>';
                             }
                         });
                         v5n += '</ul></div>';
                         s9o.before(v5n);
                         r3o = J3o('.mbsc-cal-anim-c', j3o);
                         B9o = J3o('.mbsc-cal-anim', r3o);
                         d6n = J3o('.mbsc-cal-week-nrs', j3o);
                         if (t3o) {
                             Y9o = true;
                             y9o = J3o('.mbsc-cal-slide', B9o).each(function(D2n, g5n) {
                                 u3o.push(J3o(g5n));
                             });
                             y9o.slice(w3o, w3o + Q3o).addClass('mbsc-cal-slide-a').removeAttr('aria-hidden');
                             for (e3o = 0; e3o < P3o; e3o++) {
                                 g9o(u3o[e3o], 100 * (e3o - w3o) * a9o);
                             }
                             N9o(H3o, k3o);
                             S3o = new p3o.classes.ScrollView(r3o[0], {
                                 axis: M3o ? 'Y' : 'X',
                                 easing: '',
                                 contSize: 0,
                                 snap: 1,
                                 maxSnapScroll: w3o,
                                 moveElement: B9o,
                                 mousewheel: E3o.mousewheel,
                                 time: 200,
                                 lock: true,
                                 stopProp: false,
                                 minScroll: -Infinity,
                                 maxScroll: Infinity,
                                 onAnimationEnd: function(J2n) {
                                     var b2n = Math.round(((M3o ? J2n.posY : J2n.posX) - x3o) / A3o) * a9o;
                                     if (b2n) {
                                         R3o(H3o, k3o - b2n, b2n > 0 ? 'prev' : 'next', b2n > 0 ? b2n : -b2n);
                                     }
                                 }
                             });
                         }
                         i9o = J3o('.mbsc-cal-month', j3o);
                         K9o = J3o('.mbsc-cal-year', j3o);
                         O3o = J3o('.mbsc-cal-m-c', j3o);
                         if (C3o) {
                             O3o.on(f3o, C9o);
                             Z3o = J3o('.mbsc-cal-month-c', j3o).on(f3o, C9o);
                             L3o = J3o('.mbsc-cal-year-c', j3o).on(f3o, C9o);
                             c6n = J3o('.mbsc-cal-sc-p', j3o);
                             x9o = {
                                 axis: M3o ? 'Y' : 'X',
                                 contSize: 0,
                                 snap: 1,
                                 maxSnapScroll: 1,
                                 rtl: E3o.rtl,
                                 mousewheel: E3o.mousewheel,
                                 time: 200,
                                 stopProp: false,
                                 minScroll: -Infinity,
                                 maxScroll: Infinity
                             };
                             X3o = new p3o.classes.ScrollView(L3o[0], x9o);
                             D9o = new p3o.classes.ScrollView(Z3o[0], x9o);
                         }
                         if (m3o) {
                             j3o.addClass('mbsc-cal-liq');
                         } else {
                             J3o('.mbsc-cal', j3o).width(D6n || 280 * Q3o);
                         }
                         if (E3o.calendarHeight) {
                             J3o('.mbsc-cal-anim-c', j3o).height(E3o.calendarHeight);
                         }
                         N3o.tap(r3o, function(s2n) {
                             var a2n = J3o(s2n.target);
                             if (!f9o && !S3o.scrolled && E3o.readonly !== true) {
                                 a2n = a2n.closest('.mbsc-cal-day', this);
                                 if (a2n.hasClass('mbsc-cal-day-v')) {
                                     L6n.call(a2n[0]);
                                 }
                             }
                         });
                         J3o('.mbsc-cal-btn', j3o).on('touchstart mousedown keydown', T6n).on('touchmove', Y6n).on('touchend touchcancel keyup', B6n);
                         J3o('.mbsc-cal-tab', j3o).on('touchstart click', function(p2n) {
                             if (z3o(p2n, this)) {
                                 N3o.changeTab(J3o(this).attr('data-control'));
                             }
                         });
                         if (C3o) {
                             N3o.tap(J3o('.mbsc-cal-month', j3o), function() {
                                 if (!L3o.hasClass('mbsc-cal-v')) {
                                     d9o(O3o);
                                     Y9o = O3o.hasClass('mbsc-cal-v');
                                 }
                                 d9o(Z3o);
                                 J9o(L3o);
                             });
                             N3o.tap(J3o('.mbsc-cal-year', j3o), function() {
                                 if (!L3o.hasClass('mbsc-cal-v')) {
                                     X3o.scroll(q3o);
                                 }
                                 if (!Z3o.hasClass('mbsc-cal-v')) {
                                     d9o(O3o);
                                     Y9o = O3o.hasClass('mbsc-cal-v');
                                 }
                                 d9o(L3o);
                                 J9o(Z3o);
                             });
                             N3o.tap(J3o('.mbsc-cal-month-s', j3o), function() {
                                 if (!D9o.scrolled && !J3o(this).hasClass('mbsc-fr-btn-d')) {
                                     N3o.navigate(E3o.getDate(H3o, J3o(this).attr('data-val'), 1));
                                 }
                             });
                             N3o.tap(J3o('.mbsc-cal-year-s', j3o), function() {
                                 if (!X3o.scrolled) {
                                     p9o = E3o.getDate(J3o(this).attr('data-val'), k3o, 1);
                                     N3o.navigate(new Date(s3o.constrain(p9o, n3o, T3o)));
                                 }
                             });
                             N3o.tap(L3o, function() {
                                 if (!X3o.scrolled) {
                                     J9o(L3o);
                                     X9o(O3o);
                                     Y9o = true;
                                 }
                             });
                             N3o.tap(Z3o, function() {
                                 if (!D9o.scrolled) {
                                     J9o(Z3o);
                                     X9o(O3o);
                                     Y9o = true;
                                 }
                             });
                         }
                     },
                     onShow: function() {
                         if (t3o) {
                             a6n(H3o, k3o);
                         }
                     },
                     onPosition: function(E2n) {
                         var K2n, y2n, d2n, z2n, f2n, B2n, G2n = 0,
                             Y2n = 0,
                             o2n = 0,
                             h2n = E2n.windowHeight;
                         if (m3o) {
                             if (f6n) {
                                 r3o.height('');
                             }
                             s9o.height('');
                             B9o.width('');
                         }
                         if (A3o) {
                             f2n = A3o;
                         }
                         if (t3o) {
                             A3o = Math.round(Math.round(r3o[0][M3o ? 'offsetHeight' : 'offsetWidth']) / Q3o);
                         }
                         if (A3o) {
                             j3o.removeClass('mbsc-cal-m mbsc-cal-l');
                             if (A3o > 1024) {
                                 j3o.addClass('mbsc-cal-l');
                             } else if (A3o > 640) {
                                 j3o.addClass('mbsc-cal-m');
                             }
                         }
                         if (o9o && (j9o || m3o) || Q9o) {
                             J3o('.mbsc-cal-pnl', j3o).removeClass('mbsc-cal-pnl-h');
                             J3o.each(c3o, function(N2n, e2n) {
                                 K2n = e2n[0].offsetWidth;
                                 G2n = Math.max(G2n, K2n);
                                 Y2n = Math.max(Y2n, e2n[0].offsetHeight);
                                 o2n += K2n;
                             });
                             if (o9o || Q9o && o2n > H6n(v9o)) {
                                 y2n = true;
                                 F3o = J3o('.mbsc-cal-tabs .mbsc-cal-tab-sel', j3o).attr('data-control');
                                 l9o.addClass('mbsc-cal-tabbed');
                             } else {
                                 F3o = 'calendar';
                                 G2n = '';
                                 Y2n = '';
                                 l9o.removeClass('mbsc-cal-tabbed');
                                 s9o.css({
                                     width: '',
                                     height: ''
                                 });
                             }
                         }
                         if (m3o && f6n && t3o) {
                             N3o._isFullScreen = true;
                             if (y2n) {
                                 s9o.height(c3o.calendar[0].offsetHeight);
                             }
                             z2n = l9o[0].offsetHeight;
                             if (h2n >= z2n) {
                                 r3o.height(h2n - z2n + r3o[0].offsetHeight);
                             }
                             Y2n = Math.max(Y2n, c3o.calendar[0].offsetHeight);
                         }
                         if (y2n) {
                             s9o.css({
                                 width: m3o ? '' : G2n,
                                 height: Y2n
                             });
                             if (t3o) {
                                 A3o = Math.round(Math.round(r3o[0][M3o ? 'offsetHeight' : 'offsetWidth']) / Q3o);
                             }
                         }
                         if (A3o) {
                             B9o[M3o ? 'height' : 'width'](A3o);
                             if (A3o !== f2n) {
                                 if (b9o) {
                                     w9o = E3o.maxMonthWidth > J3o('.mbsc-cal-btnw-m', j3o).width() ? E3o.monthNamesShort : E3o.monthNames;
                                     for (e3o = 0; e3o < Q3o; ++e3o) {
                                         J3o(i9o[e3o]).text(w9o[E3o.getMonth(E3o.getDate(H3o, k3o - l3o + e3o, 1))]);
                                     }
                                 }
                                 if (C3o) {
                                     B2n = L3o[0][M3o ? 'offsetHeight' : 'offsetWidth'];
                                     J3o.extend(X3o.settings, {
                                         contSize: B2n,
                                         snap: B2n,
                                         minScroll: (2 - I9o) * B2n,
                                         maxScroll: -B2n
                                     });
                                     J3o.extend(D9o.settings, {
                                         contSize: B2n,
                                         snap: B2n,
                                         minScroll: -B2n,
                                         maxScroll: -B2n
                                     });
                                     X3o.refresh();
                                     D9o.refresh();
                                     if (L3o.hasClass('mbsc-cal-v')) {
                                         X3o.scroll(q3o);
                                     }
                                 }
                                 if (m3o && !j9o && f2n) {
                                     d2n = x3o / f2n;
                                     x3o = d2n * A3o;
                                 }
                                 b6n(H3o, k3o);
                             }
                         } else {
                             A3o = f2n;
                         }
                         if (y2n) {
                             J3o('.mbsc-cal-pnl', j3o).addClass('mbsc-cal-pnl-h');
                             c3o[F3o].removeClass('mbsc-cal-pnl-h');
                         }
                         N3o.trigger('onCalResize');
                         j9o = false;
                     },
                     onHide: function() {
                         h9o = [];
                         u3o = [];
                         F3o = null;
                         H3o = null;
                         k3o = null;
                         f9o = true;
                         A3o = 0;
                         if (S3o) {
                             S3o.destroy();
                         }
                         if (C3o && X3o && D9o) {
                             X3o.destroy();
                             D9o.destroy();
                         }
                     },
                     onValidated: function(w2n) {
                         var Q2n, k2n, j2n;
                         k2n = N3o.getDate(true);
                         if (m9o) {
                             Q2n = 'calendar';
                         } else {
                             for (j2n in N3o.order) {
                                 if (j2n && N3o.order[j2n] === w2n) {
                                     Q2n = /[mdy]/.test(j2n) ? 'date' : 'time';
                                 }
                             }
                         }
                         N3o.trigger('onSetDate', {
                             date: k2n,
                             control: Q2n
                         });
                         J6n(k2n);
                         m9o = false;
                     }
                 });
                 return R9o;
             };
         }(window, document));
         (function(t2n, n2n, c2n) {
             var A2n = L9s,
                 H2n = A2n.$,
                 l2n = H2n.extend,
                 u2n = A2n.util,
                 L2n = u2n.datetime,
                 M2n = L2n.adjustedDate,
                 r2n = A2n.presets.scroller,
                 T2n = {};
             A2n.presetShort('calendar');
             r2n.calendar = function(P2n) {
                 function i2n() {
                     P2n.refresh();
                 }

                 function D0n(G0n) {
                     X2n = {};
                     if (G0n && G0n.length) {
                         for (Z2n = 0; Z2n < G0n.length; Z2n++) {
                             X2n[I2n(G0n[Z2n])] = G0n[Z2n];
                         }
                     }
                 }

                 function I2n(f0n) {
                     return M2n(f0n.getFullYear(), f0n.getMonth(), f0n.getDate());
                 }

                 function b0n(J0n) {
                     if (J0n) {
                         if (R2n[J0n]) {
                             return R2n[J0n];
                         }
                         var a0n = H2n('<div style="background-color:' + J0n + ';"></div>').appendTo('body'),
                             B0n = t2n.getComputedStyle ? getComputedStyle(a0n[0]) : a0n[0].style,
                             s0n = B0n.backgroundColor.replace(/rgb|rgba|\(|\)|\s/g, '').split(','),
                             Y0n = s0n[0] * 0.299 + s0n[1] * 0.587 + s0n[2] * 0.114,
                             p0n = Y0n > 130 ? '#000' : '#fff';
                         a0n.remove();
                         R2n[J0n] = p0n;
                         return p0n;
                     }
                 }
                 var m2n, O2n, g2n, Z2n, C2n, S2n, v2n, R2n = {},
                     q2n = l2n({}, P2n.settings),
                     V2n = l2n(P2n.settings, T2n, q2n),
                     W2n = V2n.activeClass || '',
                     F2n = V2n.select == 'multiple' || V2n.select > 1 || V2n.selectType == 'week',
                     U2n = u2n.isNumeric(V2n.select) ? V2n.select : Infinity,
                     x2n = !!V2n.events,
                     X2n = {};
                 v2n = r2n.calbase.call(this, P2n);
                 m2n = l2n({}, v2n);
                 g2n = V2n.firstSelectDay === c2n ? V2n.firstDay : V2n.firstSelectDay;
                 if (F2n && V2n.defaultValue && V2n.defaultValue.length) {
                     for (Z2n = 0; Z2n < V2n.defaultValue.length; Z2n++) {
                         X2n[I2n(V2n.defaultValue[Z2n])] = V2n.defaultValue[Z2n];
                     }
                 }
                 P2n.onGenMonth = function(y0n, z0n) {
                     C2n = P2n.prepareObj(V2n.events || V2n.marked, y0n, z0n);
                 };
                 P2n.getDayProps = function(N0n) {
                     var h0n, j0n = F2n ? X2n[N0n] !== c2n : c2n,
                         K0n = C2n[N0n] ? C2n[N0n] : false,
                         o0n = K0n && K0n[0] && K0n[0].text,
                         e0n = K0n && K0n[0] && K0n[0].color,
                         Q0n = x2n && o0n ? b0n(e0n) : '',
                         d0n = '',
                         E0n = '';
                     if (K0n) {
                         for (h0n = 0; h0n < K0n.length; h0n++) {
                             if (K0n[h0n].icon) {
                                 d0n += '<span class="mbsc-ic mbsc-ic-' + K0n[h0n].icon + '"' + (K0n[h0n].text ? '' : K0n[h0n].color ? ' style="color:' + K0n[h0n].color + ';"' : '') + '></span>\n';
                             }
                         }
                         E0n = '<div class="mbsc-cal-day-m"><div class="mbsc-cal-day-m-t">';
                         for (h0n = 0; h0n < K0n.length; h0n++) {
                             E0n += '<div class="mbsc-cal-day-m-c"' + (K0n[h0n].color ? ' style="background:' + K0n[h0n].color + ';"' : '') + '></div>';
                         }
                         E0n += '</div></div>';
                     }
                     return {
                         marked: K0n,
                         selected: j0n,
                         cssClass: K0n ? 'mbsc-cal-day-marked' : '',
                         ariaLabel: x2n ? o0n : '',
                         markup: x2n && o0n ? '<div class="mbsc-cal-day-txt-c"><div class="mbsc-cal-day-txt" title="' + H2n('<div>' + o0n + '</div>').text() + '"' + (e0n ? ' style="background:' + e0n + ';color:' + Q0n + ';text-shadow:none;"' : '') + '>' + d0n + o0n + '</div></div>' : x2n && d0n ? '<div class="mbsc-cal-day-ic-c">' + d0n + '</div>' : K0n ? E0n : ''
                     };
                 };
                 P2n.addValue = function(k0n) {
                     X2n[I2n(k0n)] = k0n;
                     i2n();
                 };
                 P2n.removeValue = function(w0n) {
                     delete X2n[I2n(w0n)];
                     i2n();
                 };
                 P2n.setVal = function(H0n, l0n, u0n, A0n, c0n) {
                     if (F2n) {
                         D0n(H0n);
                         H0n = H0n ? H0n[0] : null;
                     }
                     P2n._setVal(H0n, l0n, u0n, A0n, c0n);
                     i2n();
                 };
                 P2n.getVal = function(L0n) {
                     if (F2n) {
                         return u2n.objectToArray(X2n);
                     }
                     return P2n.getDate(L0n);
                 };
                 l2n(v2n, {
                     highlight: !F2n,
                     outerMonthChange: !F2n,
                     parseValue: function(r0n) {
                         var M0n, T0n;
                         if (F2n && r0n && typeof r0n === 'string') {
                             X2n = {};
                             r0n = r0n.split(',');
                             for (M0n = 0; M0n < r0n.length; M0n++) {
                                 T0n = L2n.parseDate(P2n.format, r0n[M0n].replace(/^\s+|\s+$/g, ''), V2n);
                                 X2n[I2n(T0n)] = T0n;
                             }
                             r0n = r0n[0];
                         }
                         if (F2n && V2n.defaultValue && V2n.defaultValue.length) {
                             V2n.defaultValue = V2n.defaultValue[0];
                         }
                         return m2n.parseValue.call(this, r0n);
                     },
                     formatValue: function(V0n) {
                         var n0n, t0n = [];
                         if (F2n) {
                             for (n0n in X2n) {
                                 t0n.push(L2n.formatDate(P2n.format, X2n[n0n], V2n));
                             }
                             return t0n.join(', ');
                         }
                         return m2n.formatValue.call(this, V0n);
                     },
                     onClear: function() {
                         if (F2n) {
                             X2n = {};
                             P2n.refresh();
                         }
                     },
                     onBeforeShow: function() {
                         if (V2n.setOnDayTap === c2n && (!V2n.buttons || !V2n.buttons.length)) {
                             V2n.setOnDayTap = true;
                         }
                         if (V2n.setOnDayTap && V2n.display != 'inline') {
                             V2n.outerMonthChange = false;
                         }
                         if (V2n.counter && F2n) {
                             V2n.headerText = function() {
                                 var X0n = 0,
                                     P0n = V2n.selectType == 'week' ? 7 : 1;
                                 H2n.each(X2n, function() {
                                     X0n++;
                                 });
                                 X0n = Math.round(X0n / P0n);
                                 return (X0n > 1 ? V2n.selectedPluralText || V2n.selectedText : V2n.selectedText).replace(/{count}/, X0n);
                             };
                         }
                     },
                     onMarkupReady: function(F0n) {
                         m2n.onMarkupReady.call(this, F0n);
                         O2n = H2n(F0n.target);
                         if (F2n) {
                             H2n('.mbsc-fr-hdr', O2n).attr('aria-live', 'off');
                             S2n = l2n({}, X2n);
                         }
                         if (x2n) {
                             H2n('.mbsc-cal', O2n).addClass('mbsc-cal-ev');
                         }
                     },
                     onDayChange: function(m0n) {
                         var O0n = m0n.date,
                             Z0n = I2n(O0n),
                             C0n = H2n(m0n.target),
                             v0n = m0n.selected;
                         if (F2n) {
                             if (V2n.selectType == 'week') {
                                 var x0n, i0n, I0n = Z0n.getDay() - g2n;
                                 I0n = I0n < 0 ? 7 + I0n : I0n;
                                 if (V2n.select != 'multiple') {
                                     X2n = {};
                                 }
                                 for (x0n = 0; x0n < 7; x0n++) {
                                     i0n = M2n(Z0n.getFullYear(), Z0n.getMonth(), Z0n.getDate() - I0n + x0n);
                                     if (v0n) {
                                         delete X2n[i0n];
                                     } else if (u2n.objectToArray(X2n).length / 7 < U2n) {
                                         X2n[i0n] = i0n;
                                     }
                                 }
                                 i2n();
                             } else {
                                 var R0n = H2n('.mbsc-cal .mbsc-cal-day[data-full="' + C0n.attr('data-full') + '"]', O2n);
                                 if (v0n) {
                                     R0n.removeClass('mbsc-cal-day-sel').removeAttr('aria-selected').find('.mbsc-cal-day-i').removeClass(W2n);
                                     delete X2n[Z0n];
                                 } else if (u2n.objectToArray(X2n).length < U2n) {
                                     R0n.addClass('mbsc-cal-day-sel').attr('aria-selected', 'true').find('.mbsc-cal-day-i').addClass(W2n);
                                     X2n[Z0n] = Z0n;
                                 }
                             }
                         }
                         if (V2n.setOnDayTap && V2n.select != 'multiple' && V2n.display != 'inline') {
                             P2n.needsSlide = false;
                             P2n.setDate(O0n);
                             P2n.select();
                             return false;
                         }
                     },
                     onCancel: function() {
                         if (!P2n.live && F2n) {
                             X2n = l2n({}, S2n);
                         }
                     }
                 });
                 return v2n;
             };
         }(window, document));
         (function(q0n) {
             var S0n = function() {},
                 U0n = L9s,
                 W0n = U0n.$;
             U0n.util.addIcon = function(b4n, s4n) {
                 var g0n = {},
                     J4n = b4n.parent(),
                     a4n = J4n.find('.mbsc-err-msg'),
                     p4n = b4n.attr('data-icon-align') || 'left',
                     D4n = b4n.attr('data-icon');
                 W0n('<span class="mbsc-input-wrap"></span>').insertAfter(b4n).append(b4n);
                 if (a4n) {
                     J4n.find('.mbsc-input-wrap').append(a4n);
                 }
                 if (D4n) {
                     if (D4n.indexOf('{') !== -1) {
                         g0n = JSON.parse(D4n);
                     } else {
                         g0n[p4n] = D4n;
                     }
                 }
                 if (D4n || s4n) {
                     W0n.extend(g0n, s4n);
                     J4n.addClass((g0n.right ? 'mbsc-ic-right ' : '') + (g0n.left ? ' mbsc-ic-left' : '')).find('.mbsc-input-wrap').append(g0n.left ? '<span class="mbsc-input-ic mbsc-left-ic mbsc-ic mbsc-ic-' + g0n.left + '"></span>' : '').append(g0n.right ? '<span class="mbsc-input-ic mbsc-right-ic mbsc-ic mbsc-ic-' + g0n.right + '"></span>' : '');
                 }
             };
             U0n.classes.Progress = function(k4n, l4n, u4n) {
                 function E4n(M4n, n4n, T4n, t4n) {
                     M4n = Math.min(K4n, Math.max(M4n, y4n));
                     w4n.css('width', (M4n - y4n) * 100 / (K4n - y4n) + '%');
                     if (T4n === q0n) {
                         T4n = true;
                     }
                     if (t4n === q0n) {
                         t4n = T4n;
                     }
                     if (M4n !== z4n || n4n) {
                         B4n._display(M4n);
                     }
                     if (M4n !== z4n) {
                         z4n = M4n;
                         if (T4n) {
                             Y4n.attr('value', z4n);
                         }
                         if (t4n) {
                             Y4n.trigger('change');
                         }
                     }
                 }

                 function o4n(L4n, r4n) {
                     var c4n = Y4n.attr(L4n);
                     return c4n === q0n || c4n === '' ? r4n : +c4n;
                 }

                 function H4n() {
                     var A4n = o4n('value', y4n);
                     if (A4n !== z4n) {
                         E4n(A4n);
                     }
                 }
                 var d4n, Y4n, G4n, w4n, N4n, j4n, h4n, y4n, K4n, f4n, Q4n, z4n, e4n, B4n = this;
                 U0n.classes.Base.call(this, k4n, l4n, true);
                 B4n._onInit = S0n;
                 B4n._onDestroy = S0n;
                 B4n._display = function(V4n) {
                     e4n = Q4n && f4n.returnAffix ? Q4n.replace(/\{value\}/, V4n).replace(/\{max\}/, K4n) : V4n;
                     if (N4n) {
                         N4n.html(e4n);
                     }
                     if (d4n) {
                         d4n.html(e4n);
                     }
                 };
                 B4n._attachChange = function() {
                     Y4n.on('change', H4n);
                 };
                 B4n._init = function(P4n) {
                     var F4n, Z4n, X4n, I4n;
                     f4n = B4n.settings;
                     Y4n = W0n(k4n);
                     I4n = Y4n.parent().hasClass('mbsc-input-wrap');
                     G4n = B4n._$parent = I4n ? G4n : Y4n.parent();
                     y4n = B4n._min = P4n.min === q0n ? o4n('min', f4n.min) : P4n.min;
                     K4n = B4n._max = P4n.max === q0n ? o4n('max', f4n.max) : P4n.max;
                     z4n = o4n('value', y4n);
                     F4n = Y4n.attr('data-val') || f4n.val;
                     X4n = Y4n.attr('data-step-labels');
                     X4n = X4n ? JSON.parse(X4n) : f4n.stepLabels;
                     Q4n = Y4n.attr('data-template') || (K4n == 100 && !f4n.template ? '{value}%' : f4n.template);
                     if (!I4n) {
                         if (B4n._wrap) {
                             U0n.util.addIcon(Y4n);
                         }
                         G4n.find('.mbsc-input-wrap').append('<span class="mbsc-progress-cont"><span class="mbsc-progress-track mbsc-progress-anim"><span class="mbsc-progress-bar"></span></span></span>');
                         w4n = B4n._$progress = G4n.find('.mbsc-progress-bar');
                         j4n = B4n._$track = G4n.find('.mbsc-progress-track');
                     } else {
                         if (F4n) {
                             d4n.remove();
                             G4n.removeClass('mbsc-progress-value-' + (F4n == 'right' ? 'right' : 'left'));
                         }
                         if (X4n) {
                             W0n('.mbsc-progress-step-label', j4n).remove();
                         }
                     }
                     if (h4n) {
                         G4n.removeClass(h4n);
                     }
                     h4n = B4n._css + ' mbsc-progress-w mbsc-control-w mbsc-' + f4n.theme + (f4n.baseTheme ? ' mbsc-' + f4n.baseTheme : '') + (f4n.rtl ? ' mbsc-rtl' : ' mbsc-ltr');
                     G4n.addClass(h4n);
                     Y4n.addClass('mbsc-control').attr('min', y4n).attr('max', K4n);
                     if (F4n) {
                         d4n = W0n('<span class="mbsc-progress-value"></span>');
                         G4n.addClass('mbsc-progress-value-' + (F4n == 'right' ? 'right' : 'left')).find('.mbsc-input-wrap').append(d4n);
                     }
                     if (X4n) {
                         for (Z4n = 0; Z4n < X4n.length; ++Z4n) {
                             j4n.append('<span class="mbsc-progress-step-label" style="' + (f4n.rtl ? 'right' : 'left') + ': ' + (X4n[Z4n] - y4n) * 100 / (K4n - y4n) + '%" >' + X4n[Z4n] + '</span>');
                         }
                     }
                     N4n = W0n(Y4n.attr('data-target') || f4n.target);
                     B4n._onInit(P4n);
                     if (!I4n) {
                         B4n._attachChange();
                     }
                     B4n.refresh();
                 };
                 B4n._destroy = function() {
                     B4n._onDestroy();
                     G4n.find('.mbsc-progress-cont').remove();
                     G4n.removeClass(h4n).find('.mbsc-input-wrap').before(Y4n).remove();
                     Y4n.removeClass('mbsc-control').off('change', H4n);
                 };
                 B4n.refresh = function() {
                     E4n(o4n('value', y4n), true, false);
                 };
                 B4n.getVal = function() {
                     return z4n;
                 };
                 B4n.setVal = function(x4n, i4n, m4n) {
                     E4n(x4n, true, i4n, m4n);
                 };
                 if (!u4n) {
                     B4n.init(l4n);
                 }
             };
             U0n.classes.Progress.prototype = {
                 _class: 'progress',
                 _css: 'mbsc-progress',
                 _hasTheme: true,
                 _hasLang: true,
                 _wrap: true,
                 _defaults: {
                     min: 0,
                     max: 100,
                     returnAffix: true
                 }
             };
             U0n.presetShort('progress', 'Progress');
         }());
         (function(U4n) {
             var W4n = function() {},
                 v4n = L9s,
                 O4n = v4n.$,
                 C4n = v4n.util,
                 R4n = C4n.getCoord,
                 q4n = C4n.testTouch;
             v4n.classes.Slider = function(u8n, S8n, g8n) {
                 function K8n(N7n, j7n, l7n, k7n, u7n, w7n) {
                     var H7n = G8n.eq(j7n),
                         Q7n = H7n.parent();
                     N7n = Math.min(B8n, Math.max(N7n, b8n));
                     if (w7n === U4n) {
                         w7n = l7n;
                     }
                     if (n8n) {
                         if (j7n === 0) {
                             N7n = Math.min(N7n, g4n[1]);
                             d8n.css({
                                 width: p8n(g4n[1]) - p8n(N7n) + '%',
                                 left: z8n ? 'auto' : p8n(N7n) + '%',
                                 right: z8n ? p8n(N7n) + '%' : 'auto'
                             });
                         } else {
                             N7n = Math.max(N7n, g4n[0]);
                             d8n.css({
                                 width: p8n(N7n) - p8n(g4n[0]) + '%'
                             });
                         }
                     } else if (y8n || !j8n) {
                         Q7n.css({
                             left: z8n ? 'auto' : (k7n || p8n(N7n)) + '%',
                             right: z8n ? (k7n || p8n(N7n)) + '%' : 'auto'
                         });
                     } else {
                         d8n.css('width', (k7n || p8n(N7n)) + '%');
                     }
                     if (N8n) {
                         U8n.eq(j7n).html(N7n);
                     }
                     if (N7n > b8n) {
                         Q7n.removeClass('mbsc-slider-start');
                     } else if (g4n[j7n] > b8n || u7n) {
                         Q7n.addClass('mbsc-slider-start');
                     }
                     if (!y8n && (g4n[j7n] != N7n || u7n)) {
                         S4n._display(N7n);
                     }
                     if (l7n && g4n[j7n] != N7n) {
                         X8n = true;
                         g4n[j7n] = N7n;
                         S4n._fillValue(N7n, j7n, w7n);
                     }
                     H7n.attr('aria-valuenow', N7n);
                 }

                 function T8n(E7n, e7n) {
                     var d7n = D8n.attr(E7n);
                     return d7n === U4n || d7n === '' ? e7n : d7n === 'true';
                 }

                 function p8n(o7n) {
                     return (o7n - b8n) * 100 / (B8n - b8n);
                 }

                 function q8n(z7n, K7n, h7n) {
                     var y7n = K7n ? Math.min(Math.round(Math.max((z7n - c8n) * 100 / r8n, 0) / l8n / J8n) * J8n * 100 / (B8n - b8n), 100) : Math.max(0, Math.min((z7n - c8n) * 100 / r8n, 100));
                     if (z8n) {
                         y7n = 100 - y7n;
                     }
                     K8n(Math.round((b8n + y7n / l8n) * L8n) / L8n, f8n, h7n, y7n);
                 }

                 function P8n() {
                     h8n = false;
                     e8n.removeClass('mbsc-active');
                     O4n(document).off('mousemove', w8n).off('mouseup', H8n);
                 }

                 function Q8n(G7n) {
                     G7n.preventDefault();
                     clearInterval(k8n);
                     k8n = null;
                 }

                 function C8n(f7n) {
                     var Y7n;
                     if (!u8n.disabled) {
                         switch (f7n.keyCode) {
                             case 38:
                             case 39:
                                 Y7n = 1;
                                 break;
                             case 40:
                             case 37:
                                 Y7n = -1;
                                 break;
                         }
                         if (Y7n) {
                             f7n.preventDefault();
                             if (!k8n) {
                                 f8n = +O4n(this).attr('data-index');
                                 K8n(g4n[f8n] + J8n * Y7n, f8n, true);
                                 k8n = setInterval(function() {
                                     K8n(g4n[f8n] + J8n * Y7n, f8n, true);
                                 }, 200);
                             }
                         }
                     }
                 }

                 function R8n(B7n) {
                     B7n.preventDefault();
                 }

                 function v8n(p7n) {
                     p7n.stopPropagation();
                 }

                 function O8n() {
                     var a7n = S4n._readValue(O4n(this)),
                         s7n = +O4n(this).attr('data-index');
                     if (a7n !== g4n[s7n]) {
                         g4n[s7n] = a7n;
                         K8n(a7n, s7n);
                     }
                 }

                 function m8n() {
                     if (h8n) {
                         P8n();
                     }
                 }

                 function H8n(J7n) {
                     if (h8n) {
                         J7n.preventDefault();
                         if (!y8n) {
                             Y8n.addClass('mbsc-progress-anim');
                         }
                         q8n(E8n, true, true);
                         if (!o8n && !X8n) {
                             C4n.preventClick();
                             S4n._onTap(g4n[f8n]);
                         }
                         P8n();
                     }
                 }

                 function w8n(b7n) {
                     if (h8n) {
                         E8n = R4n(b7n, 'X');
                         W8n = R4n(b7n, 'Y');
                         F8n = E8n - A8n;
                         x8n = W8n - Z8n;
                         if (Math.abs(F8n) > 5 || o8n) {
                             o8n = true;
                             if (Math.abs(t8n - new Date()) > 50) {
                                 t8n = new Date();
                                 q8n(E8n, a8n.round, i8n);
                             }
                         }
                         if (o8n) {
                             b7n.preventDefault();
                         } else if (Math.abs(x8n) > 7) {
                             P8n(b7n);
                         }
                     }
                 }

                 function I8n(D7n) {
                     if (q4n(D7n, this) && !h8n && !u8n.disabled) {
                         if (a8n.stopProp) {
                             D7n.stopPropagation();
                         }
                         h8n = true;
                         o8n = false;
                         X8n = false;
                         A8n = R4n(D7n, 'X');
                         Z8n = R4n(D7n, 'Y');
                         E8n = A8n;
                         Y8n.removeClass('mbsc-progress-anim');
                         M8n = y8n ? O4n('.mbsc-slider-handle', this) : G8n;
                         if (e8n) {
                             e8n.removeClass('mbsc-handle-curr');
                         }
                         e8n = M8n.parent().addClass('mbsc-active mbsc-handle-curr');
                         f8n = +M8n.attr('data-index');
                         r8n = Y8n[0].offsetWidth;
                         c8n = Y8n[0].getBoundingClientRect().left;
                         if (D7n.type === 'mousedown') {
                             D7n.preventDefault();
                             O4n(document).on('mousemove', w8n).on('mouseup', H8n);
                         }
                     }
                 }
                 var D8n, M8n, e8n, G8n, V8n, s8n, d8n, U8n, Y8n, h8n, X8n, F8n, x8n, c8n, E8n, W8n, f8n, j8n, N8n, n8n, z8n, i8n, B8n, b8n, o8n, y8n, J8n, a8n, l8n, A8n, Z8n, L8n, k8n, r8n, g4n, S4n = this,
                     t8n = new Date();
                 v4n.classes.Progress.call(this, u8n, S8n, true);
                 S4n._onTap = W4n;
                 S4n.__onInit = W4n;
                 S4n._readValue = function(A7n) {
                     return +A7n.val();
                 };
                 S4n._fillValue = function(L7n, c7n, r7n) {
                     D8n.eq(c7n).val(L7n);
                     if (r7n) {
                         D8n.eq(c7n).trigger('change');
                     }
                 };
                 S4n._attachChange = function() {
                     D8n.on(a8n.changeEvent, O8n);
                 };
                 S4n._onInit = function(t7n) {
                     var M7n, T7n, n7n;
                     if (s8n) {
                         s8n.removeClass('mbsc-slider-has-tooltip');
                         if (J8n != 1) {
                             O4n('.mbsc-slider-step', Y8n).remove();
                         }
                     }
                     S4n.__onInit();
                     s8n = S4n._$parent;
                     Y8n = S4n._$track;
                     d8n = S4n._$progress;
                     D8n = s8n.find('input');
                     a8n = S4n.settings;
                     b8n = S4n._min;
                     B8n = S4n._max;
                     J8n = t7n.step === U4n ? +D8n.attr('step') || a8n.step : t7n.step;
                     i8n = T8n('data-live', a8n.live);
                     N8n = T8n('data-tooltip', a8n.tooltip);
                     j8n = T8n('data-highlight', a8n.highlight) && D8n.length < 3;
                     L8n = J8n % 1 !== 0 ? 100 / (+(J8n % 1).toFixed(2) * 100) : 1;
                     l8n = 100 / (B8n - b8n) || 100;
                     y8n = D8n.length > 1;
                     n8n = j8n && D8n.length == 2;
                     z8n = a8n.rtl;
                     g4n = [];
                     if (N8n) {
                         s8n.addClass('mbsc-slider-has-tooltip');
                     }
                     if (J8n != 1) {
                         T7n = (B8n - b8n) / J8n;
                         for (M7n = 0; M7n <= T7n; ++M7n) {
                             Y8n.append('<span class="mbsc-slider-step" style="' + (z8n ? 'right' : 'left') + ':' + 100 / T7n * M7n + '%"></span>');
                         }
                     }
                     if (G8n) {
                         n7n = true;
                         G8n.parent().remove();
                     }
                     D8n.each(function(V7n) {
                         g4n[V7n] = S4n._readValue(O4n(this));
                         O4n(this).attr('data-index', V7n);
                         if (this.type == 'range') {
                             O4n(this).attr('min', b8n).attr('max', B8n).attr('step', J8n);
                         }
                         if (a8n.handle) {
                             (j8n ? d8n : Y8n).append('<span class="mbsc-slider-handle-cont' + (n8n && !V7n ? ' mbsc-slider-handle-left' : '') + '">' + '<span tabindex="0" class="mbsc-slider-handle" aria-valuemin="' + b8n + '" aria-valuemax="' + B8n + '" data-index="' + V7n + '"></span>' + (N8n ? '<span class="mbsc-slider-tooltip"></span>' : '') + '</span>');
                         }
                     });
                     G8n = s8n.find('.mbsc-slider-handle');
                     U8n = s8n.find('.mbsc-slider-tooltip');
                     V8n = s8n.find(y8n ? '.mbsc-slider-handle-cont' : '.mbsc-progress-cont');
                     G8n.on('keydown', C8n).on('keyup', Q8n).on('blur', Q8n);
                     V8n.on('touchstart mousedown', I8n).on('touchmove', w8n).on('touchend touchcancel', H8n).on('pointercancel', m8n);
                     if (!n7n) {
                         D8n.on('click', v8n);
                         s8n.on('click', R8n);
                     }
                 };
                 S4n._onDestroy = function() {
                     s8n.off('click', R8n);
                     D8n.off(a8n.changeEvent, O8n).off('click', v8n);
                     G8n.off('keydown', C8n).off('keyup', Q8n).off('blur', Q8n);
                     V8n.off('touchstart mousedown', I8n).off('touchmove', w8n).off('touchend', H8n).off('touchcancel pointercancel', m8n);
                 };
                 S4n.refresh = function() {
                     D8n.each(function(X7n) {
                         K8n(S4n._readValue(O4n(this)), X7n, true, false, true, false);
                     });
                 };
                 S4n.getVal = function() {
                     return y8n ? g4n.slice(0) : g4n[0];
                 };
                 S4n.setVal = S4n._setVal = function(P7n, Z7n, F7n) {
                     if (!O4n.isArray(P7n)) {
                         P7n = [P7n];
                     }
                     O4n.each(P7n, function(I7n, x7n) {
                         K8n(x7n, I7n, true, false, true, F7n);
                     });
                 };
                 if (!g8n) {
                     S4n.init(S8n);
                 }
             };
             v4n.classes.Slider.prototype = {
                 _class: 'progress',
                 _css: 'mbsc-progress mbsc-slider',
                 _hasTheme: true,
                 _hasLang: true,
                 _wrap: true,
                 _defaults: {
                     changeEvent: 'change',
                     stopProp: true,
                     min: 0,
                     max: 100,
                     step: 1,
                     live: true,
                     highlight: true,
                     handle: true,
                     round: true,
                     returnAffix: true
                 }
             };
             v4n.presetShort('slider', 'Slider');
         }());
         (function(m7n) {
             function q7n(S3n) {
                 return g7n(R7n(S3n));
             }

             function b3n(q3n) {
                 return U7n(S7n(q3n));
             }

             function a3n(W3n) {
                 return U7n(s3n(W3n));
             }

             function J3n(U3n) {
                 return D3n(R7n(U3n));
             }

             function s3n(C3n) {
                 var x3n, i3n, m3n, R3n, Z3n, O3n, F3n = C3n.h,
                     v3n = C3n.s,
                     I3n = C3n.l;
                 if (!isFinite(F3n)) {
                     F3n = 0;
                 }
                 if (!isFinite(v3n)) {
                     v3n = 0;
                 }
                 if (!isFinite(I3n)) {
                     I3n = 0;
                 }
                 F3n /= 60;
                 if (F3n < 0) {
                     F3n = 6 - -F3n % 6;
                 }
                 F3n %= 6;
                 v3n = Math.max(0, Math.min(1, v3n / 100));
                 I3n = Math.max(0, Math.min(1, I3n / 100));
                 Z3n = (1 - Math.abs(2 * I3n - 1)) * v3n;
                 O3n = Z3n * (1 - Math.abs(F3n % 2 - 1));
                 if (F3n < 1) {
                     x3n = Z3n;
                     i3n = O3n;
                     m3n = 0;
                 } else if (F3n < 2) {
                     x3n = O3n;
                     i3n = Z3n;
                     m3n = 0;
                 } else if (F3n < 3) {
                     x3n = 0;
                     i3n = Z3n;
                     m3n = O3n;
                 } else if (F3n < 4) {
                     x3n = 0;
                     i3n = O3n;
                     m3n = Z3n;
                 } else if (F3n < 5) {
                     x3n = O3n;
                     i3n = 0;
                     m3n = Z3n;
                 } else {
                     x3n = Z3n;
                     i3n = 0;
                     m3n = O3n;
                 }
                 R3n = I3n - Z3n / 2;
                 return {
                     r: Math.round((x3n + R3n) * 255),
                     g: Math.round((i3n + R3n) * 255),
                     b: Math.round((m3n + R3n) * 255),
                     toString: function() {
                         return 'rgb(' + this.r + ',' + this.g + ',' + this.b + ')';
                     }
                 };
             }

             function D3n(X3n) {
                 var T3n = X3n.r / 255,
                     L3n = X3n.g / 255,
                     r3n = X3n.b / 255,
                     c3n = Math.max(T3n, L3n, r3n),
                     n3n = Math.min(T3n, L3n, r3n),
                     V3n = (c3n + n3n) / 2,
                     t3n, P3n;
                 if (c3n == n3n) {
                     t3n = P3n = 0;
                 } else {
                     var M3n = c3n - n3n;
                     P3n = V3n > 0.5 ? M3n / (2 - c3n - n3n) : M3n / (c3n + n3n);
                     switch (c3n) {
                         case T3n:
                             t3n = (L3n - r3n) / M3n + (L3n < r3n ? 6 : 0);
                             break;
                         case L3n:
                             t3n = (r3n - T3n) / M3n + 2;
                             break;
                         case r3n:
                             t3n = (T3n - L3n) / M3n + 4;
                             break;
                     }
                     t3n /= 6;
                 }
                 return {
                     h: Math.round(t3n * 360),
                     s: Math.round(P3n * 100),
                     l: Math.round(V3n * 100),
                     toString: function() {
                         return 'hsl(' + this.h + ',' + this.s + '%,' + this.l + '%)';
                     }
                 };
             }

             function g7n(Q3n) {
                 var k3n = 0,
                     l3n, u3n, A3n = Math.min(Q3n.r, Q3n.g, Q3n.b),
                     w3n = Math.max(Q3n.r, Q3n.g, Q3n.b),
                     H3n = w3n - A3n;
                 u3n = w3n;
                 l3n = w3n ? 255 * H3n / w3n : 0;
                 if (l3n) {
                     if (Q3n.r == w3n) {
                         k3n = (Q3n.g - Q3n.b) / H3n;
                     } else if (Q3n.g == w3n) {
                         k3n = 2 + (Q3n.b - Q3n.r) / H3n;
                     } else {
                         k3n = 4 + (Q3n.r - Q3n.g) / H3n;
                     }
                 } else {
                     k3n = -1;
                 }
                 k3n *= 60;
                 if (k3n < 0) {
                     k3n += 360;
                 }
                 l3n *= 100 / 255;
                 u3n *= 100 / 255;
                 return {
                     h: k3n,
                     s: l3n,
                     v: u3n,
                     toString: function() {
                         return 'hsv(' + Math.round(this.h) + ',' + Math.round(this.s) + '%,' + Math.round(this.v) + '%)';
                     }
                 };
             }

             function S7n(j3n) {
                 var h3n, o3n, d3n, K3n = j3n.h,
                     N3n = j3n.s * 255 / 100,
                     e3n = j3n.v * 255 / 100;
                 if (N3n === 0) {
                     h3n = o3n = d3n = e3n;
                 } else {
                     var z3n = e3n,
                         y3n = (255 - N3n) * e3n / 255,
                         E3n = (z3n - y3n) * (K3n % 60) / 60;
                     if (K3n == 360) {
                         K3n = 0;
                     }
                     if (K3n < 60) {
                         h3n = z3n;
                         d3n = y3n;
                         o3n = y3n + E3n;
                     } else if (K3n < 120) {
                         o3n = z3n;
                         d3n = y3n;
                         h3n = z3n - E3n;
                     } else if (K3n < 180) {
                         o3n = z3n;
                         h3n = y3n;
                         d3n = y3n + E3n;
                     } else if (K3n < 240) {
                         d3n = z3n;
                         h3n = y3n;
                         o3n = z3n - E3n;
                     } else if (K3n < 300) {
                         d3n = z3n;
                         o3n = y3n;
                         h3n = y3n + E3n;
                     } else if (K3n < 360) {
                         h3n = z3n;
                         o3n = y3n;
                         d3n = z3n - E3n;
                     } else {
                         h3n = o3n = d3n = 0;
                     }
                 }
                 return {
                     r: h3n,
                     g: o3n,
                     b: d3n,
                     toString: function() {
                         return 'rgb(' + this.r + ',' + this.g + ',' + this.b + ')';
                     }
                 };
             }

             function R7n(G3n) {
                 G3n = parseInt(G3n.indexOf('#') > -1 ? G3n.substring(1) : G3n, 16);
                 return {
                     r: G3n >> 16,
                     g: (G3n & 0x00FF00) >> 8,
                     b: G3n & 0x0000FF,
                     toString: function() {
                         return 'rgb(' + this.r + ',' + this.g + ',' + this.b + ')';
                     }
                 };
             }

             function U7n(B3n) {
                 var p3n = [Math.round(B3n.r).toString(16), Math.round(B3n.g).toString(16), Math.round(B3n.b).toString(16)];
                 i7n.each(p3n, function(f3n, Y3n) {
                     if (Y3n.length == 1) {
                         p3n[f3n] = '0' + Y3n;
                     }
                 });
                 return '#' + p3n.join('');
             }
             var v7n = L9s,
                 i7n = v7n.$,
                 C7n = v7n.util,
                 W7n = function() {},
                 O7n = v7n.classes;
             O7n.Color = function(H9n, n9n, W9n) {
                 function X9n(W6R, R6R) {
                     var C6R = false,
                         U6R = i7n('.mbsc-color-selected', R6R);
                     B9n = i7n(W6R.target);
                     if (B9n.hasClass('mbsc-color-clear-item')) {
                         y9n = '';
                         g3n.clear();
                         return;
                     }
                     if ((f9n || x9n > +U6R.length || B9n.hasClass('mbsc-color-selected')) && L9s.SJbOo) {
                         J9n = B9n.attr('data-index');
                         if (p9n) {
                             s9n = D9n[J9n].previewInd !== m7n ? D9n[J9n].previewInd : m9n();
                             C6R = o9n && B9n.hasClass('mbsc-color-selected') && !B9n.parent().hasClass('mbsc-color-active');
                             if (G9n.length > 6) {
                                 E9n.scroll(G9n.eq(s9n));
                             }
                         }
                         y9n = D9n[J9n].changedColor || D9n[J9n].color;
                         if (f9n) {
                             U6R.removeClass('mbsc-color-selected');
                             g3n._tempValue = y9n;
                             if (y9n) {
                                 B9n.toggleClass('mbsc-color-selected');
                             }
                             c9n(B9n, R6R);
                         } else {
                             c9n(B9n, R6R);
                             if (!C6R) {
                                 u9n(!D9n[J9n].selected, J9n, s9n, y9n, true, true);
                             }
                         }
                         M9n(J9n, R6R);
                         if (g3n.live) {
                             g3n._fillValue();
                             Q9n('onSet', {
                                 value: g3n._value
                             });
                         }
                         Q9n('onItemTap', {
                             target: W6R.target,
                             value: y9n,
                             selected: D9n[J9n].selected,
                             index: J9n
                         });
                     }
                 }

                 function V9n(O6R, v6R) {
                     var m6R = i7n(O6R.target).index();
                     J9n = a9n[m6R].colorIndex;
                     B9n = d9n.eq(J9n);
                     s9n = m6R;
                     M9n(J9n, v6R);
                     e9n.scroll(B9n, 250);
                     Q9n('onPreviewItemTap', {
                         target: O6R.target,
                         value: a9n[m6R].color,
                         index: m6R
                     });
                 }

                 function U9n() {
                     var x6R, i6R = [];
                     for (x6R = 0; x6R < D9n.length; ++x6R) {
                         if (D9n[x6R].selected) {
                             i6R.push(D9n[x6R]);
                         }
                     }
                     return i6R;
                 }

                 function M9n(Z6R, I6R) {
                     if (Z6R !== m7n && (f9n || D9n[Z6R].selected)) {
                         J9n = Z6R;
                         y9n = D9n[Z6R].changedColor || D9n[Z6R].color;
                         B9n = d9n.eq(Z6R);
                         if (o9n) {
                             c9n(d9n.eq(Z6R), I6R || '');
                             N9n = l9n(D9n[Z6R].color, 'hsl');
                             N9n.l = l9n(y9n, 'hsl').l;
                             F9n(D9n[Z6R].color);
                             k9n.setVal(100 - N9n.l, false, false);
                         }
                     } else if (o9n) {
                         F9n();
                     }
                 }

                 function u9n(T6R, t6R, n6R, V6R, P6R, F6R) {
                     if (p9n && P6R) {
                         a9n[n6R].colorIndex = T6R ? t6R : m7n;
                         a9n[n6R].color = T6R ? V6R : m7n;
                         if (G9n) {
                             var X6R = G9n.eq(n6R);
                             X6R.removeClass('mbsc-color-preview-item-empty').css({
                                 background: T6R ? V6R : 'transparent'
                             });
                             if (!T6R) {
                                 X6R.addClass('mbsc-color-preview-item-empty').parent().removeClass('mbsc-color-active');
                             }
                         }
                     }
                     if (F6R) {
                         if (T6R) {
                             g3n._tempValue.splice(n6R, 0, V6R);
                         } else {
                             g3n._tempValue.splice(g3n._tempValue.indexOf(V6R), 1);
                         }
                     }
                     if (d9n) {
                         if (T6R) {
                             d9n.eq(t6R).addClass('mbsc-color-selected');
                         } else {
                             d9n.eq(t6R).removeClass('mbsc-color-selected').parent().removeClass('mbsc-color-active');
                         }
                     }
                     D9n[t6R].previewInd = T6R ? n6R : m7n;
                     D9n[t6R].selected = T6R;
                 }

                 function I9n(H6R, r6R) {
                     var k6R, l6R, w6R = [],
                         c6R = 0,
                         u6R = i7n.map(D9n, function(M6R) {
                             return M6R.changedColor || M6R.color;
                         });
                     if (f9n) {
                         H6R = i7n.isArray(H6R) ? H6R[0] : H6R;
                         l6R = u6R.indexOf(H6R);
                         if (l6R > -1) {
                             w6R.push(l6R);
                         }
                         if (H6R && !w6R.length) {
                             var A6R = +i7n('.mbsc-color-input-item', z9n).attr('data-color');
                             if (!isNaN(A6R)) {
                                 w6R.push(A6R);
                             }
                             J9n = A6R;
                         }
                     } else if (H6R) {
                         if (p9n && o9n) {
                             for (var L6R in Y9n) {
                                 if (Y9n[L6R].colorIndex !== m7n) {
                                     w6R.push(+Y9n[L6R].colorIndex);
                                 }
                             }
                         } else {
                             for (k6R = 0; k6R < H6R.length; ++k6R) {
                                 l6R = u6R.indexOf(H6R[k6R]);
                                 if (l6R > -1) {
                                     w6R.push(l6R);
                                     u6R[l6R] = 'temp' + k6R;
                                 }
                             }
                         }
                     }
                     for (k6R = 0; k6R < w6R.length; ++k6R) {
                         u9n(true, w6R[k6R], c6R++, D9n[w6R[k6R]].changedColor || D9n[w6R[k6R]].color, true);
                     }
                     for (k6R = 0; k6R < D9n.length; ++k6R) {
                         if (w6R.indexOf(k6R) == -1) {
                             u9n(false, k6R, m7n, D9n[k6R].changedColor || D9n[k6R].color, false);
                         }
                     }
                     if (p9n) {
                         for (k6R = c6R; k6R < b9n.select; ++k6R) {
                             a9n[k6R] = {};
                             if (G9n) {
                                 G9n.eq(k6R).addClass('mbsc-color-preview-item-empty').css({
                                     background: 'transparent'
                                 });
                             }
                         }
                     }
                     Y9n = i7n.extend(true, {}, a9n);
                     if (r6R !== false) {
                         v9n();
                     }
                 }

                 function c9n(j6R, Q6R) {
                     i7n('.mbsc-color-active', Q6R).removeClass('mbsc-color-active');
                     if (o9n) {
                         j6R.parent().addClass('mbsc-color-active');
                         if (p9n && j6R) {
                             if (s9n !== m7n) {
                                 G9n.eq(s9n).parent().addClass('mbsc-color-active');
                             }
                         }
                     }
                 }

                 function m9n() {
                     var N6R;
                     for (N6R = 0; N6R < b9n.select; ++N6R) {
                         if (a9n[N6R].colorIndex === m7n) {
                             return N6R;
                         }
                     }
                 }

                 function O9n(E6R, e6R) {
                     switch (e6R) {
                         case 'rgb':
                             return R7n(E6R);
                         case 'hsl':
                             return J3n(E6R);
                         case 'hsv':
                             return q7n(E6R);
                         default:
                             return E6R;
                     }
                 }

                 function l9n(h6R, d6R) {
                     var o6R, K6R = h6R.match(/\d+/gmi);
                     switch (true) {
                         case h6R.indexOf('rgb') > -1:
                             o6R = U7n({
                                 r: K6R[0],
                                 g: K6R[1],
                                 b: K6R[2]
                             });
                             break;
                         case h6R.indexOf('hsl') > -1:
                             o6R = a3n({
                                 h: K6R[0],
                                 s: K6R[1],
                                 l: K6R[2]
                             });
                             break;
                         case h6R.indexOf('hsv') > -1:
                             o6R = b3n({
                                 h: K6R[0],
                                 s: K6R[1],
                                 v: K6R[2]
                             });
                             break;
                         case h6R.indexOf('#') > -1:
                             o6R = h6R;
                             break;
                     }
                     return O9n(o6R, d6R || b9n.format);
                 }

                 function v9n() {
                     if (w9n) {
                         var f6R, G6R = '';
                         z9n.empty();
                         if (g3n._value) {
                             if (f9n) {
                                 G6R += P9n(g3n._value, J9n);
                             } else {
                                 for (f6R = 0; f6R < g3n._value.length; ++f6R) {
                                     G6R += P9n(g3n._value[f6R], Object.keys(a9n).length && a9n[f6R].colorIndex ? a9n[f6R].colorIndex : r9n(g3n._value[f6R]));
                                 }
                             }
                             z9n.append(G6R);
                             g3n.tap(i7n('.mbsc-color-input-item', z9n), function(y6R) {
                                 if (i7n(y6R.target).hasClass('mbsc-color-input-item-close')) {
                                     var z6R = i7n(this).index();
                                     y6R.stopPropagation();
                                     y6R.preventDefault();
                                     if (J9n === m7n) {
                                         J9n = i7n(y6R.target).parent().attr('data-color');
                                     }
                                     if (p9n) {
                                         s9n = D9n[J9n].previewInd;
                                         G9n.eq(s9n).parent().removeClass('mbsc-color-active');
                                         Y9n[z6R] = {};
                                         a9n[z6R] = {};
                                     }
                                     g3n._value.splice(z6R, 1);
                                     g3n.setVal(g3n._value, true, true);
                                 } else if (o9n && b9n.display !== 'inline') {
                                     R9n = true;
                                     J9n = i7n(y6R.target).attr('data-color');
                                     if (isNaN(J9n)) {
                                         J9n = r9n(J9n);
                                     }
                                     if (J9n) {
                                         D9n[J9n].selected = true;
                                         s9n = D9n[J9n].previewInd;
                                         setTimeout(function() {
                                             e9n.scroll(d9n.eq(J9n), 400);
                                             if (p9n) {
                                                 E9n.scroll(G9n.eq(s9n), 400);
                                             }
                                         }, 200);
                                     }
                                 }
                             });
                         }
                     }
                 }

                 function r9n(B6R) {
                     if (Object.keys(a9n).length && !isNaN(B6R)) {
                         return B6R;
                     }
                     for (var Y6R in D9n) {
                         if (B6R == D9n[Y6R].color || B6R == D9n[Y6R].changedColor) {
                             return Y6R;
                         }
                     }
                 }

                 function F9n(p6R) {
                     Z9n[0].style.background = p6R ? C7n.prefix + 'linear-gradient(left, ' + (b9n.rtl ? '#000000' : '#FFFFFF') + ' 0%, ' + p6R + ' 50%, ' + (b9n.rtl ? '#FFFFFF' : '#000000') + ' 100%)' : '';
                 }

                 function P9n(s6R, a6R) {
                     a6R = a6R !== m7n ? a6R : r9n(s6R);
                     return '<div class="mbsc-color-input-item" data-color="' + (a6R !== m7n ? a6R : s6R) + '" style="background: ' + s6R + ';">' + (f9n ? '' : '<div class="mbsc-color-input-item-close mbsc-ic mbsc-ic-material-close"></div>') + '</div>';
                 }

                 function L9n(g9n, S9n, b6R, J6R, D6R) {
                     if (!D6R) {
                         g3n._value = g3n._hasValue ? g3n._tempValue.slice(0) : null;
                         for (var q9n = 0; q9n < D9n.length; ++q9n) {
                             if (D9n[q9n].tempChangedColor && g3n._value && g3n._value.indexOf(D9n[q9n].tempChangedColor) != -1) {
                                 D9n[q9n].changedColor = D9n[q9n].tempChangedColor;
                             }
                             delete D9n[q9n].tempChangedColor;
                         }
                     }
                     if (g9n) {
                         if (g3n._isInput) {
                             K9n.val(g3n._hasValue ? g3n._tempValue : '');
                         }
                         Q9n('onFill', {
                             valueText: g3n._hasValue ? g3n._tempValue : '',
                             change: S9n
                         });
                         if (S9n) {
                             Y9n = i7n.extend(true, {}, a9n);
                             g3n._preventChange = true;
                             K9n.trigger('change');
                             I9n(g3n._value);
                         }
                     }
                 }
                 var b9n, i9n, D9n, C9n, Q9n, e9n, E9n, j9n, y9n, N9n, R9n, h9n, p9n, Z9n, o9n, t9n, k9n, J9n, w9n, f9n, x9n, T9n, z9n, d9n, G9n, B9n, A9n, g3n = this,
                     K9n = i7n(H9n),
                     s9n = 0,
                     Y9n = {},
                     a9n = {};
                 O7n.Frame.call(this, H9n, n9n, true);
                 g3n.setVal = g3n._setVal = function(q6R, S6R, g6R, D1R) {
                     g3n._hasValue = q6R !== null && q6R !== m7n;
                     g3n._tempValue = i7n.isArray(q6R) ? q6R : [q6R];
                     L9n(S6R, true, g6R === m7n ? S6R : g6R, D1R);
                 };
                 g3n.getVal = g3n._getVal = function(b1R) {
                     return g3n._hasValue || b1R ? T9n ? U9n() : g3n[b1R ? '_tempValue' : '_value'] : null;
                 };
                 g3n._readValue = function() {
                     var J1R = K9n.val() || '';
                     g3n._hasValue = false;
                     if (J1R.length !== 0 && J1R !== '') {
                         g3n._hasValue = true;
                     }
                     if (g3n._hasValue) {
                         g3n._tempValue = f9n ? J1R : b9n.format == 'hex' ? J1R.split(',') : J1R.match(/[a-z]{3}\((\d+\.?\d{0,}?),\s*([\d.]+)%{0,},\s*([\d.]+)%{0,}\)/gmi);
                         L9n(true);
                     } else {
                         g3n._tempValue = [];
                     }
                     I9n(g3n._tempValue, g3n._hasValue);
                 };
                 g3n._fillValue = function() {
                     g3n._hasValue = true;
                     L9n(true, true, 0, true);
                 };
                 g3n._generateContent = function() {
                     var a1R, s1R, Y1R, p1R = j9n ? 1 : 0;
                     t9n = h9n ? Math.ceil((D9n.length + p1R) / b9n.rows) : b9n.rows;
                     s1R = '<div class="mbsc-color-scroll-cont mbsc-w-p ' + (h9n ? '' : 'mbsc-color-vertical') + '"><div class="mbsc-color-cont">' + (h9n ? '<div class="mbsc-color-row">' : '');
                     for (a1R = 0; a1R < D9n.length; ++a1R) {
                         Y1R = D9n[a1R].changedColor || D9n[a1R].color;
                         if (j9n && a1R === 0) {
                             s1R += '<div class="mbsc-color-item-c"><div tabindex="0" class="mbsc-color-clear-item mbsc-btn-e mbsc-color-selected"><div class="mbsc-color-clear-cross"></div></div></div>';
                         }
                         if (a1R !== 0 && (a1R + p1R) % t9n === 0) {
                             s1R += h9n ? '</div><div class="mbsc-color-row">' : '';
                         }
                         s1R += '<div class="mbsc-color-item-c"><div tabindex="0" data-index="' + a1R + '" class="mbsc-color-item mbsc-btn-e mbsc-ic mbsc-ic-material-check mbsc-color-btn-e ' + (D9n[a1R].selected ? 'mbsc-color-selected' : '') + '"  style="background:' + Y1R + '"></div></div>';
                     }
                     s1R += '</div></div>' + (h9n ? '</div>' : '');
                     if (o9n) {
                         s1R += '<div class="mbsc-color-slider-cont"><input class="mbsc-color-slider" type="range" data-highlight="false" value="50" min="0" max="100"/></div>';
                     }
                     if (p9n) {
                         s1R += '<div class="mbsc-color-preview-cont"><div class="mbsc-color-refine-preview">';
                         for (var B1R in Y9n) {
                             s1R += '<div class="mbsc-color-preview-item-c mbsc-btn-e mbsc-color-btn-e" tabindex="0"><div class="mbsc-color-preview-item ' + (Y9n[B1R].color ? '' : 'mbsc-color-preview-item-empty') + '" style="background: ' + (Y9n[B1R].color || 'initial') + ';"></div></div>';
                         }
                         s1R += '</div></div>';
                     }
                     return s1R;
                 };
                 g3n._position = function(y1R) {
                     var f1R, G1R;
                     if (!h9n) {
                         f1R = y1R.find('.mbsc-color-cont');
                         G1R = Math.ceil(f1R.find('.mbsc-color-item-c')[0].offsetWidth);
                         f1R.width(Math.min(Math.floor(y1R.find('.mbsc-fr-c').width() / G1R), Math.round(D9n.length / b9n.rows)) * G1R + 1);
                     }
                     if (e9n) {
                         e9n.refresh();
                     }
                     if (E9n) {
                         E9n.refresh();
                     }
                 };
                 g3n._markupInserted = function(z1R) {
                     if (!h9n) {
                         z1R.find('.mbsc-color-scroll-cont').css('max-height', z1R.find('.mbsc-color-item-c')[0].offsetHeight * b9n.rows);
                     }
                     e9n = new O7n.ScrollView(z1R.find('.mbsc-color-scroll-cont')[0], {
                         axis: h9n ? 'X' : 'Y',
                         rtl: b9n.rtl,
                         elastic: 60,
                         stopProp: false,
                         mousewheel: b9n.mousewheel,
                         onBtnTap: function(K1R) {
                             X9n(K1R, z1R);
                         }
                     });
                 };
                 g3n._attachEvents = function(h1R) {
                     var o1R;
                     d9n = i7n('.mbsc-color-item', h1R);
                     h1R.on('keydown', '.mbsc-color-btn-e', function(d1R) {
                         d1R.stopPropagation();
                         if (d1R.keyCode == 32) {
                             if (d1R.target.classList.contains('mbsc-color-item')) {
                                 X9n(d1R, h1R);
                             } else {
                                 V9n(d1R, h1R);
                             }
                         }
                     });
                     if (p9n) {
                         G9n = i7n('.mbsc-color-preview-item', h1R);
                     }
                     if (o9n) {
                         h1R.addClass('mbsc-color-refine');
                         A9n = i7n('.mbsc-color-slider', h1R);
                         k9n = new O7n.Slider(A9n[0], {
                             theme: b9n.theme,
                             rtl: b9n.rtl
                         });
                         Z9n = h1R.find('.mbsc-progress-track');
                         if (J9n && g3n._value) {
                             M9n(J9n, h1R);
                         }
                         A9n.on('change', function() {
                             if (J9n !== m7n && (f9n || D9n[J9n].selected)) {
                                 N9n.l = 100 - this.value;
                                 o1R = l9n(N9n.toString()).toString();
                                 if (f9n) {
                                     g3n._tempValue = o1R;
                                 } else {
                                     g3n._tempValue[s9n !== m7n ? s9n : g3n._tempValue.length] = o1R;
                                 }
                                 D9n[J9n].tempChangedColor = o1R;
                                 d9n.eq(J9n).css('background', o1R);
                                 if (p9n) {
                                     a9n[s9n].color = o1R;
                                     G9n.eq(s9n).removeClass('mbsc-color-preview-item-empty').css({
                                         'background': o1R
                                     });
                                 }
                                 if (g3n.live) {
                                     C7n.throttle(g3n._fillValue());
                                 }
                             }
                         });
                     }
                     if (p9n) {
                         E9n = new O7n.ScrollView(h1R.find('.mbsc-color-preview-cont')[0], {
                             axis: 'X',
                             rtl: b9n.rtl,
                             mousewheel: b9n.mousewheel,
                             onBtnTap: function(E1R) {
                                 V9n(E1R, h1R);
                             }
                         });
                     }
                 };
                 g3n._detachEvents = function() {
                     e9n.destroy();
                     if (k9n) {
                         k9n.destroy();
                     }
                     if (E9n) {
                         E9n.destroy();
                     }
                 };
                 g3n.__processSettings = function() {
                     var e1R, N1R;
                     b9n = g3n.settings;
                     C9n = b9n.format;
                     Q9n = g3n.trigger;
                     h9n = b9n.navigation == 'horizontal';
                     g3n._value = [];
                     g3n._tempValue = [];
                     f9n = b9n.select == 'single';
                     j9n = b9n.clear !== m7n ? b9n.clear : f9n;
                     N1R = b9n.data || [];
                     if (!N1R.length) {
                         switch (b9n.format) {
                             case 'rgb':
                                 N1R = ["rgb(255,235,60)", "rgb(255,153,0)", "rgb(244,68,55)", "rgb(234,30,99)", "rgb(156,38,176)", "rgb(104,58,183)", "rgb(63,81,181)", "rgb(33,150,243)", "rgb(0,151,136)", "rgb(75,175,79)", "rgb(126,93,78)", "rgb(158,158,158)"];
                                 if (j9n) {
                                     N1R.splice(10, 0, 'rgb(83, 71, 65)');
                                 }
                                 break;
                             case 'hsl':
                                 N1R = ["hsl(54,100%,62%)", "hsl(36,100%,50%)", "hsl(4,90%,59%)", "hsl(340,83%,52%)", "hsl(291,64%,42%)", "hsl(262,52%,47%)", "hsl(231,48%,48%)", "hsl(207,90%,54%)", "hsl(174,100%,30%)", "hsl(122,40%,49%)", "hsl(19,24%,40%)", "hsl(0,0%,62%)"];
                                 if (j9n) {
                                     N1R.splice(10, 0, 'hsl(20, 12%, 29%)');
                                 }
                                 break;
                             default:
                                 N1R = ['#ffeb3c', '#ff9900', '#f44437', '#ea1e63', '#9c26b0', '#683ab7', '#3f51b5', '#2196f3', '#009788', '#4baf4f', '#7e5d4e', '#9e9e9e'];
                                 if (j9n) {
                                     N1R.splice(10, 0, '#534741');
                                 }
                         }
                     }
                     o9n = b9n.mode == 'refine';
                     p9n = !isNaN(b9n.select);
                     x9n = isNaN(b9n.select) ? f9n ? 2 : N1R.length : b9n.select;
                     T9n = i7n.isPlainObject(N1R[0]);
                     if (p9n && !Object.keys(Y9n).length) {
                         for (e1R = 0; e1R < b9n.select; ++e1R) {
                             Y9n[e1R] = {};
                             a9n[e1R] = {};
                         }
                     }
                     if (!D9n) {
                         D9n = N1R.slice(0);
                         for (e1R = 0; e1R < D9n.length; ++e1R) {
                             if (!i7n.isPlainObject(N1R[e1R])) {
                                 N1R[e1R] = N1R[e1R].toLowerCase();
                                 D9n[e1R] = {
                                     key: e1R,
                                     name: N1R[e1R],
                                     color: N1R[e1R]
                                 };
                             } else {
                                 D9n[e1R].color = N1R[e1R].color;
                             }
                         }
                     }
                     i9n = b9n.defaultValue || D9n[0].color;
                     y9n = i9n;
                     N9n = l9n(y9n, 'hsl');
                     w9n = b9n.enhance && K9n.is('input');
                     if (w9n) {
                         if (K9n.hasClass('mbsc-color-input-hdn')) {
                             z9n = K9n.prev();
                         } else {
                             z9n = i7n('<div ' + (H9n.placeholder ? 'data-placeholder="' + H9n.placeholder + '"' : '') + ' class="mbsc-control mbsc-color-input mbsc-control-ev ' + (b9n.inputClass || '') + '" readonly ></div>');
                             z9n.insertBefore(K9n);
                             K9n.addClass('mbsc-color-input-hdn').attr('tabindex', -1);
                         }
                         b9n.anchor = z9n;
                         g3n.attachShow(z9n);
                     }
                 };
                 g3n.__init = function() {
                     b9n.cssClass = (b9n.cssClass || '') + ' mbsc-color';
                 };
                 g3n.__destroy = function() {
                     if (w9n) {
                         K9n.removeClass('mbsc-color-input-hdn');
                         z9n.remove();
                     }
                 };
                 if (!W9n) {
                     g3n.init(n9n);
                 }
             };
             O7n.Color.prototype = {
                 _hasDef: true,
                 _hasTheme: true,
                 _hasLang: true,
                 _class: 'color',
                 _defaults: i7n.extend({}, O7n.Frame.prototype._defaults, {
                     headerText: false,
                     validate: W7n,
                     parseValue: W7n,
                     enhance: true,
                     rows: 2,
                     select: 'single',
                     format: 'hex',
                     navigation: 'horizontal'
                 })
             };
             v7n.themes.color = v7n.themes.frame;
             v7n.presetShort('color', 'Color', false);
             C7n.color = {
                 hsv2hex: b3n,
                 hsv2rgb: S7n,
                 rgb2hsv: g7n,
                 rgb2hex: U7n,
                 rgb2hsl: D3n,
                 hex2rgb: R7n,
                 hex2hsv: q7n,
                 hex2hsl: J3n
             };
         }());
         (function() {
             L9s.$.each(['date', 'time', 'datetime'], function(Q1R, j1R) {
                 L9s.presetShort(j1R);
             });
         }());
         (function(M1R, T1R, A1R) {
             var H1R = L9s,
                 k1R = H1R.$,
                 w1R = k1R.extend,
                 L1R = H1R.util,
                 l1R = L1R.datetime,
                 c1R = l1R.adjustedDate,
                 u1R = H1R.presets.scroller,
                 r1R = {
                     labelsShort: ['Yrs', 'Mths', 'Days', 'Hrs', 'Mins', 'Secs'],
                     eventText: 'event',
                     eventsText: 'events'
                 };
             H1R.presetShort('eventcalendar');
             u1R.eventcalendar = function(t1R) {
                 function f5R(S5R) {
                     return c1R(S5R.getFullYear(), S5R.getMonth(), S5R.getDate());
                 }

                 function q1R() {
                     i1R();
                     t1R.redraw();
                 }

                 function i1R() {
                     if (V1R) {
                         V1R.removeClass('mbsc-cal-events-v');
                     }
                     if (P1R) {
                         P1R.removeClass(D5R).find('.mbsc-cal-day-i').removeClass(g1R);
                         if (P1R.attr('data-hl')) {
                             P1R.removeAttr('data-hl').addClass(C1R);
                         }
                     }
                     U1R = false;
                 }

                 function p5R(R5R, v5R) {
                     var F5R = x1R[R5R];
                     if (F5R) {
                         var i5R, I5R, O5R, Z5R, m5R, C5R, x5R = '<ul class="mbsc-cal-event-list">';
                         G5R = 0;
                         P1R = v5R;
                         v5R.addClass(D5R).find('.mbsc-cal-day-i').addClass(g1R);
                         if (v5R.hasClass(C1R)) {
                             v5R.attr('data-hl', 'true').removeClass(C1R);
                         }
                         s5R(F5R);
                         k1R.each(F5R, function(W5R, U5R) {
                             Z5R = U5R.d || U5R.start;
                             m5R = U5R.start && U5R.end && U5R.start.toDateString() !== U5R.end.toDateString();
                             O5R = U5R.color;
                             C5R = B5R(O5R);
                             i5R = '';
                             I5R = '';
                             if (Z5R.getTime) {
                                 i5R = l1R.formatDate((m5R ? 'MM d yy ' : '') + n1R.timeFormat, Z5R);
                             }
                             if (U5R.end) {
                                 I5R = l1R.formatDate((m5R ? 'MM d yy ' : '') + n1R.timeFormat, U5R.end);
                             }
                             x5R += '<li role="button" aria-label="' + U5R.text + (i5R ? ', ' + n1R.fromText + ' ' + i5R : '') + (I5R ? ', ' + n1R.toText + ' ' + I5R : '') + '" class="mbsc-cal-event">' + '<div class="mbsc-cal-event-color" style="' + (O5R ? 'background:' + O5R + ';' : '') + '"></div>' + '<div class="mbsc-cal-event-text">' + (Z5R.getTime && !m5R ? '<div class="mbsc-cal-event-time">' + l1R.formatDate(n1R.timeFormat, Z5R) + '</div>' : '') + U5R.text + '</div>' + (U5R.start && U5R.end ? '<div class="mbsc-cal-event-dur">' + Y5R(U5R.end - U5R.start) + '</div>' : '') + '</li>';
                         });
                         x5R += '</ul>';
                         S1R.html(x5R);
                         t1R.trigger('onEventBubbleShow', {
                             target: P1R[0],
                             eventList: V1R[0]
                         });
                         a5R(P1R);
                         t1R.tap(k1R('.mbsc-cal-event', S1R), function(q5R) {
                             if (!F1R.scrolled) {
                                 t1R.trigger('onEventSelect', {
                                     domEvent: q5R,
                                     event: F5R[k1R(this).index()],
                                     date: R5R
                                 });
                             }
                         });
                         U1R = true;
                     }
                 }

                 function a5R(M5R) {
                     var n5R, V5R = k1R('.mbsc-cal-c', Z1R)[0].offsetHeight,
                         X5R = M5R[0].offsetHeight,
                         P5R = M5R[0].offsetWidth,
                         t5R = M5R.offset().top - k1R('.mbsc-cal-c', Z1R).offset().top,
                         T5R = M5R.closest('.mbsc-cal-row').index() < 2;
                     n5R = V1R.addClass('mbsc-cal-events-t').css({
                         top: T5R ? t5R + X5R : '0',
                         bottom: T5R ? '0' : V5R - t5R
                     }).addClass('mbsc-cal-events-v').height();
                     V1R.css(T5R ? 'bottom' : 'top', 'auto').removeClass('mbsc-cal-events-t');
                     R1R.css('max-height', n5R);
                     F1R.refresh();
                     F1R.scroll(0);
                     if (T5R) {
                         V1R.addClass('mbsc-cal-events-b');
                     } else {
                         V1R.removeClass('mbsc-cal-events-b');
                     }
                     k1R('.mbsc-cal-events-arr', V1R).css('left', M5R.offset().left - V1R.offset().left + P5R / 2);
                 }

                 function s5R(H5R) {
                     return H5R.sort(function(l5R, u5R) {
                         var A5R = l5R.d || l5R.start,
                             c5R = u5R.d || u5R.start,
                             L5R = !A5R.getTime ? 0 : l5R.start && l5R.end && l5R.start.toDateString() !== l5R.end.toDateString() ? 1 : A5R.getTime(),
                             r5R = !c5R.getTime ? 0 : u5R.start && u5R.end && u5R.start.toDateString() !== u5R.end.toDateString() ? 1 : c5R.getTime();
                         return L5R - r5R;
                     });
                 }

                 function Y5R(w5R) {
                     var E5R = n1R.labelsShort,
                         N5R = Math.abs(w5R) / 1000,
                         j5R = N5R / 60,
                         Q5R = j5R / 60,
                         e5R = Q5R / 24,
                         k5R = e5R / 365;
                     return N5R < 45 && Math.round(N5R) + ' ' + E5R[5].toLowerCase() || j5R < 45 && Math.round(j5R) + ' ' + E5R[4].toLowerCase() || Q5R < 24 && Math.round(Q5R) + ' ' + E5R[3].toLowerCase() || e5R < 30 && Math.round(e5R) + ' ' + E5R[2].toLowerCase() || e5R < 365 && Math.round(e5R / 30) + ' ' + E5R[1].toLowerCase() || Math.round(k5R) + ' ' + E5R[0].toLowerCase();
                 }

                 function B5R(y5R) {
                     if (y5R) {
                         if (O1R[y5R]) {
                             return O1R[y5R];
                         }
                         var z5R = k1R('<div style="background-color:' + y5R + ';"></div>').appendTo('body'),
                             o5R = M1R.getComputedStyle ? getComputedStyle(z5R[0]) : z5R[0].style,
                             K5R = o5R.backgroundColor.replace(/rgb|rgba|\(|\)|\s/g, '').split(','),
                             d5R = K5R[0] * 0.299 + K5R[1] * 0.587 + K5R[2] * 0.114,
                             h5R = d5R > 130 ? '#000' : '#fff';
                         z5R.remove();
                         O1R[y5R] = h5R;
                         return h5R;
                     }
                 }
                 var b5R, Z1R, V1R, P1R, x1R, F1R, R1R, S1R, U1R, G5R, W1R, m1R, O1R = {},
                     J5R = w1R({}, t1R.settings),
                     n1R = w1R(t1R.settings, r1R, J5R),
                     D5R = 'mbsc-cal-day-sel mbsc-cal-day-ev',
                     C1R = 'mbsc-cal-day-hl',
                     g1R = n1R.activeClass || '',
                     I1R = n1R.showEventCount,
                     v1R = 0,
                     X1R = w1R(true, [], n1R.data);
                 W1R = u1R.calbase.call(this, t1R);
                 b5R = w1R({}, W1R);
                 k1R.each(X1R, function(D2R, g5R) {
                     if (g5R._id === A1R) {
                         g5R._id = v1R++;
                     }
                 });
                 t1R.onGenMonth = function(b2R, J2R) {
                     x1R = t1R.prepareObj(X1R, b2R, J2R);
                 };
                 t1R.getDayProps = function(f2R) {
                     var s2R, a2R = x1R[f2R] ? x1R[f2R] : false,
                         p2R = a2R ? x1R[f2R].length + ' ' + (x1R[f2R].length > 1 ? n1R.eventsText : n1R.eventText) : 0,
                         G2R = a2R && a2R[0] && a2R[0].color,
                         y2R = I1R && p2R ? B5R(G2R) : '',
                         B2R = '',
                         Y2R = '';
                     if (a2R) {
                         for (s2R = 0; s2R < a2R.length; s2R++) {
                             if (a2R[s2R].icon) {
                                 B2R += '<span class="mbsc-ic mbsc-ic-' + a2R[s2R].icon + '"' + (a2R[s2R].text ? '' : a2R[s2R].color ? ' style="color:' + a2R[s2R].color + ';"' : '') + '></span>\n';
                             }
                         }
                         Y2R = '<div class="mbsc-cal-day-m"><div class="mbsc-cal-day-m-t">';
                         for (s2R = 0; s2R < a2R.length; s2R++) {
                             Y2R += '<div class="mbsc-cal-day-m-c"' + (a2R[s2R].color ? ' style="background:' + a2R[s2R].color + ';"' : '') + '></div>';
                         }
                         Y2R += '</div></div>';
                     }
                     return {
                         marked: a2R,
                         selected: false,
                         cssClass: a2R ? 'mbsc-cal-day-marked' : '',
                         ariaLabel: I1R ? p2R : '',
                         markup: I1R && p2R ? '<div class="mbsc-cal-day-txt-c"><div class="mbsc-cal-day-txt" title="' + k1R('<div>' + p2R + '</div>').text() + '"' + (G2R ? ' style="background:' + G2R + ';color:' + y2R + ';text-shadow:none;"' : '') + '>' + B2R + p2R + '</div></div>' : I1R && B2R ? '<div class="mbsc-cal-day-ic-c">' + B2R + '</div>' : a2R ? Y2R : ''
                     };
                 };
                 t1R.addEvent = function(z2R) {
                     var K2R = [];
                     z2R = w1R(true, [], k1R.isArray(z2R) ? z2R : [z2R]);
                     k1R.each(z2R, function(o2R, h2R) {
                         if (h2R._id === A1R) {
                             h2R._id = v1R++;
                         }
                         X1R.push(h2R);
                         K2R.push(h2R._id);
                     });
                     q1R();
                     return K2R;
                 };
                 t1R.removeEvent = function(d2R) {
                     d2R = k1R.isArray(d2R) ? d2R : [d2R];
                     k1R.each(d2R, function(e2R, E2R) {
                         k1R.each(X1R, function(N2R, j2R) {
                             if (j2R._id === E2R) {
                                 X1R.splice(N2R, 1);
                                 return false;
                             }
                         });
                     });
                     q1R();
                 };
                 t1R.getEvents = function(Q2R) {
                     var k2R;
                     if (Q2R) {
                         Q2R.setHours(0, 0, 0, 0);
                         k2R = t1R.prepareObj(X1R, Q2R.getFullYear(), Q2R.getMonth());
                         return k2R[Q2R] ? s5R(k2R[Q2R]) : [];
                     }
                     return w1R(true, [], X1R);
                 };
                 t1R.setEvents = function(H2R) {
                     var w2R = [];
                     X1R = w1R(true, [], H2R);
                     k1R.each(X1R, function(u2R, l2R) {
                         if (l2R._id === A1R) {
                             l2R._id = v1R++;
                         }
                         w2R.push(l2R._id);
                     });
                     q1R();
                     return w2R;
                 };
                 w1R(W1R, {
                     highlight: false,
                     outerMonthChange: false,
                     headerText: false,
                     buttons: n1R.display !== 'inline' ? ['close'] : n1R.buttons,
                     onMarkupReady: function(A2R) {
                         b5R.onMarkupReady.call(this, A2R);
                         Z1R = k1R(A2R.target);
                         if (I1R) {
                             k1R('.mbsc-cal', Z1R).addClass('mbsc-cal-ev');
                         }
                         Z1R.addClass('mbsc-cal-em');
                         V1R = k1R('<div class="mbsc-cal-events ' + (n1R.eventBubbleClass || '') + '"><div class="mbsc-cal-events-arr"></div><div class="mbsc-cal-events-i"><div class="mbsc-cal-events-sc"></div></div></div>').appendTo(k1R('.mbsc-cal-c', Z1R));
                         R1R = k1R('.mbsc-cal-events-i', V1R);
                         S1R = k1R('.mbsc-cal-events-sc', V1R);
                         F1R = new H1R.classes.ScrollView(R1R[0]);
                         U1R = false;
                         t1R.tap(R1R, function() {
                             if (!F1R.scrolled) {
                                 i1R();
                             }
                         });
                     },
                     onMonthChange: function() {
                         i1R();
                     },
                     onSelectShow: function() {
                         i1R();
                     },
                     onMonthLoaded: function() {
                         if (m1R) {
                             p5R(m1R.d, k1R('.mbsc-cal-day-v[data-full="' + m1R.full + '"]:not(.mbsc-cal-day-diff)', Z1R));
                             m1R = false;
                         }
                     },
                     onDayChange: function(r2R) {
                         var M2R = r2R.date,
                             L2R = f5R(M2R),
                             c2R = k1R(r2R.target);
                         i1R();
                         if (!c2R.hasClass('mbsc-cal-day-ev')) {
                             setTimeout(function() {
                                 if (t1R.changing) {
                                     m1R = {
                                         d: L2R,
                                         full: c2R.attr('data-full')
                                     };
                                 } else {
                                     p5R(L2R, c2R);
                                 }
                             }, 10);
                         }
                         return false;
                     },
                     onCalResize: function() {
                         if (U1R) {
                             a5R(P1R);
                         }
                     },
                     onHide: function() {
                         b5R.onHide.call(t1R);
                         if (F1R) {
                             F1R.destroy();
                         }
                     }
                 });
                 return W1R;
             };
         }(window, document));
         (function(n2R, V2R) {
             var T2R = L9s,
                 t2R = T2R.$;
             T2R.classes.Page = function(I2R, x2R) {
                 var P2R = '',
                     Z2R = t2R(I2R),
                     F2R = this,
                     X2R = F2R.settings;
                 T2R.classes.Base.call(this, I2R, x2R, true);
                 F2R._init = function() {
                     var O2R = X2R.context,
                         i2R = t2R(O2R),
                         v2R = i2R.find('.mbsc-ms-top .mbsc-ms'),
                         R2R = i2R.find('.mbsc-ms-bottom .mbsc-ms'),
                         m2R = {};
                     if (O2R == 'body') {
                         t2R('body,html').addClass('mbsc-page-ctx');
                     } else {
                         i2R.addClass('mbsc-page-ctx');
                     }
                     if (P2R) {
                         Z2R.removeClass(P2R);
                     }
                     if (v2R.length) {
                         m2R.paddingTop = v2R[0].offsetHeight;
                     }
                     if (R2R.length) {
                         m2R.paddingBottom = R2R[0].offsetHeight;
                     }
                     P2R = 'mbsc-page mbsc-' + X2R.theme + (X2R.baseTheme ? ' mbsc-' + X2R.baseTheme : '') + (X2R.rtl ? ' mbsc-rtl' : ' mbsc-ltr');
                     Z2R.addClass(P2R).css(m2R);
                 };
                 F2R._destroy = function() {
                     Z2R.removeClass(P2R);
                 };
                 X2R = F2R.settings;
                 F2R.init(x2R);
             };
             T2R.classes.Page.prototype = {
                 _hasDef: true,
                 _hasTheme: true,
                 _hasLang: true,
                 _class: 'page',
                 _defaults: {
                     context: 'body'
                 }
             };
             T2R.themes.page.mobiscroll = {};
             T2R.presetShort('page', 'Page');
             t2R(function() {
                 var C2R = '[mbsc-page]';
                 t2R(C2R).each(function() {
                     new T2R.classes.Page(this);
                 });
                 t2R(n2R).on('mbsc-enhance', function(U2R, W2R) {
                     if (t2R(U2R.target).is(C2R)) {
                         new T2R.classes.Page(U2R.target, W2R);
                     } else {
                         t2R(C2R, U2R.target).each(function() {
                             new T2R.classes.Page(this, W2R);
                         });
                     }
                 });
             });
         }(document));
         (function(b0R, D0R) {
             var a0R, B0R = function() {},
                 S2R = L9s,
                 q2R = S2R.$,
                 s0R = S2R.platform,
                 J0R = S2R.util,
                 g2R = J0R.getCoord,
                 p0R = J0R.testTouch;
             if (s0R.name == 'android' && s0R.majorVersion < 5) {
                 b0R.addEventListener('change', function(Y0R) {
                     if (S2R.tapped && Y0R.target.type == 'checkbox' && !Y0R.target.mbscChange) {
                         Y0R.stopPropagation();
                         Y0R.preventDefault();
                     }
                     delete Y0R.target.mbscChange;
                 }, true);
             }
             S2R.classes.Form = function(N0R, j0R) {
                 function h0R(F0R) {
                     return !!(F0R.id && S2R.instances[F0R.id]);
                 }

                 function e0R() {
                     clearTimeout(d0R);
                     d0R = setTimeout(function() {
                         q2R('textarea.mbsc-control', G0R).each(function() {
                             Q0R(this);
                         });
                     }, 100);
                 }

                 function Q0R(t0R) {
                     var n0R, V0R, X0R, P0R = q2R(t0R).attr('rows') || 6;
                     if (t0R.offsetHeight) {
                         t0R.style.height = '';
                         X0R = t0R.scrollHeight - t0R.offsetHeight;
                         n0R = t0R.offsetHeight + (X0R > 0 ? X0R : 0);
                         V0R = Math.round(n0R / 24);
                         if (V0R > P0R) {
                             t0R.scrollTop = n0R;
                             n0R = 24 * P0R + (n0R - V0R * 24);
                             q2R(t0R).addClass('mbsc-textarea-scroll');
                         } else {
                             q2R(t0R).removeClass('mbsc-textarea-scroll');
                         }
                         if (n0R) {
                             t0R.style.height = n0R + 'px';
                         }
                     }
                 }

                 function k0R() {
                     var r0R = this;
                     if (!q2R(r0R).hasClass('mbsc-textarea-scroll')) {
                         var M0R = r0R.scrollHeight - r0R.offsetHeight,
                             T0R = r0R.offsetHeight + M0R;
                         r0R.scrollTop = 0;
                         r0R.style.height = T0R + 'px';
                     }
                 }

                 function E0R(w0R) {
                     var A0R = {},
                         H0R = w0R[0],
                         L0R = w0R.parent(),
                         c0R = w0R.attr('data-password-toggle'),
                         l0R = w0R.attr('data-icon-show') || 'eye',
                         u0R = w0R.attr('data-icon-hide') || 'eye-blocked';
                     if (c0R) {
                         A0R.right = H0R.type == 'password' ? l0R : u0R;
                     }
                     J0R.addIcon(w0R, A0R);
                     if (c0R) {
                         y0R.tap(L0R.find('.mbsc-right-ic').addClass('mbsc-input-toggle'), function() {
                             if (H0R.type == "text") {
                                 H0R.type = "password";
                                 q2R(this).addClass('mbsc-ic-' + l0R).removeClass('mbsc-ic-' + u0R);
                             } else {
                                 H0R.type = "text";
                                 q2R(this).removeClass('mbsc-ic-' + l0R).addClass('mbsc-ic-' + u0R);
                             }
                         });
                     }
                 }
                 var f0R, d0R, o0R, K0R = '',
                     G0R = q2R(N0R),
                     z0R = [],
                     y0R = this;
                 S2R.classes.Base.call(this, N0R, j0R, true);
                 y0R.refresh = function(Z0R) {
                     q2R('input,select,textarea,progress,button', G0R).each(function() {
                         function D4R() {
                             q2R('input', i0R).val(x0R.selectedIndex != -1 ? x0R.options[x0R.selectedIndex].text : '');
                         }
                         var R0R, C0R, U0R, O0R, g0R, S0R, x0R = this,
                             I0R = q2R(x0R),
                             i0R = I0R.parent(),
                             W0R = I0R.attr('data-role'),
                             m0R = I0R.attr('type') || x0R.nodeName.toLowerCase();
                         if (I0R.attr('data-enhance') != 'false' && L9s.SJbOo) {
                             if (/(switch|range|segmented|stepper)/.test(W0R)) {
                                 m0R = W0R;
                             }
                             if (I0R.hasClass('mbsc-control')) {
                                 if (/(switch|range|progress)/.test(m0R) && h0R(x0R) && !Z0R) {
                                     S2R.instances[x0R.id].option({
                                         theme: f0R.theme,
                                         lang: f0R.lang,
                                         rtl: f0R.rtl,
                                         onText: f0R.onText,
                                         offText: f0R.offText,
                                         stopProp: f0R.stopProp
                                     });
                                 }
                             } else {
                                 if (I0R.next().hasClass('mbsc-fr')) {
                                     R0R = I0R.next();
                                 }
                                 if (m0R != 'button' && m0R != 'submit' && m0R != 'segmented') {
                                     i0R.find('label').addClass('mbsc-label');
                                     i0R.contents().filter(function() {
                                         return this.nodeType == 3 && this.nodeValue && /\S/.test(this.nodeValue);
                                     }).each(function() {
                                         q2R('<span class="mbsc-label"></span>').insertAfter(this).append(this);
                                     });
                                 }
                                 switch (m0R) {
                                     case 'button':
                                     case 'submit':
                                         U0R = I0R.attr('data-icon');
                                         I0R.addClass('mbsc-btn');
                                         if (U0R) {
                                             I0R.prepend('<span class="mbsc-btn-ic mbsc-ic mbsc-ic-' + U0R + '"></span>');
                                             if (I0R.text() === "") {
                                                 I0R.addClass('mbsc-btn-icon-only');
                                             }
                                         }
                                         break;
                                     case 'switch':
                                         if (!h0R(x0R)) {
                                             z0R.push(new S2R.classes.Switch(x0R, {
                                                 theme: f0R.theme,
                                                 lang: f0R.lang,
                                                 rtl: f0R.rtl,
                                                 onText: f0R.onText,
                                                 offText: f0R.offText,
                                                 stopProp: f0R.stopProp
                                             }));
                                         }
                                         break;
                                     case 'checkbox':
                                         i0R.prepend(I0R).addClass('mbsc-checkbox mbsc-control-w');
                                         I0R.after('<span class="mbsc-checkbox-box"></span>');
                                         break;
                                     case 'range':
                                         if (!i0R.hasClass('mbsc-slider') && !h0R(x0R)) {
                                             z0R.push(new S2R.classes.Slider(x0R, {
                                                 theme: f0R.theme,
                                                 lang: f0R.lang,
                                                 rtl: f0R.rtl,
                                                 stopProp: f0R.stopProp
                                             }));
                                         }
                                         break;
                                     case 'progress':
                                         if (!h0R(x0R)) {
                                             z0R.push(new S2R.classes.Progress(x0R, {
                                                 theme: f0R.theme,
                                                 lang: f0R.lang,
                                                 rtl: f0R.rtl
                                             }));
                                         }
                                         break;
                                     case 'radio':
                                         i0R.addClass('mbsc-radio mbsc-control-w');
                                         I0R.after('<span class="mbsc-radio-box"><span></span></span>');
                                         break;
                                     case 'select':
                                     case 'select-one':
                                     case 'select-multiple':
                                         if (I0R.prev().is('input.mbsc-control')) {
                                             C0R = I0R.prev();
                                         } else {
                                             C0R = q2R('<input tabindex="-1" type="text" class="mbsc-control mbsc-control-ev" readonly>');
                                         }
                                         E0R(I0R);
                                         i0R.addClass('mbsc-input mbsc-select mbsc-control-w' + (R0R ? ' mbsc-select-inline' : ''));
                                         I0R.after(C0R);
                                         C0R.after('<span class="mbsc-select-ic mbsc-ic mbsc-ic-arrow-down5"></span>');
                                         break;
                                     case 'textarea':
                                         E0R(I0R);
                                         i0R.addClass('mbsc-input mbsc-textarea mbsc-control-w');
                                         break;
                                     case 'segmented':
                                         var v0R, q0R;
                                         if (!I0R.parent().hasClass('mbsc-segmented-item')) {
                                             q0R = q2R('<div class="mbsc-segmented"></div>');
                                             i0R.after(q0R);
                                             q2R('input[name="' + I0R.attr('name') + '"]', G0R).each(function(J4R, b4R) {
                                                 v0R = q2R(b4R).parent().addClass('mbsc-segmented-item');
                                                 q2R('<span class="mbsc-segmented-content">' + (q2R(b4R).attr('data-icon') ? ' <span class="mbsc-ic mbsc-ic-' + q2R(b4R).attr('data-icon') + '"></span> ' : '') + '</span>').append(v0R.contents()).appendTo(v0R);
                                                 v0R.prepend(b4R);
                                                 q0R.append(v0R);
                                             });
                                         }
                                         break;
                                     case 'stepper':
                                         if (!h0R(x0R)) {
                                             z0R.push(new S2R.classes.Stepper(x0R, {
                                                 form: y0R
                                             }));
                                         }
                                         break;
                                     case 'hidden':
                                         return;
                                     default:
                                         E0R(I0R);
                                         i0R.addClass('mbsc-input mbsc-control-w');
                                         break;
                                 }
                                 I0R.addClass('mbsc-control');
                                 if (R0R) {
                                     R0R.insertAfter(i0R);
                                 }
                             }
                             if (!I0R.hasClass('mbsc-control-ev')) {
                                 if (/select/.test(m0R) && !I0R.hasClass('mbsc-comp')) {
                                     I0R.on('change.mbsc-form', D4R);
                                     D4R();
                                 }
                                 if (m0R == 'textarea') {
                                     I0R.on('keydown.mbsc-form input.mbsc-form', function() {
                                         clearTimeout(d0R);
                                         d0R = setTimeout(function() {
                                             Q0R(x0R);
                                         }, 100);
                                     }).on('scroll.mbsc-form', k0R);
                                 }
                                 I0R.addClass('mbsc-control-ev').on('touchstart.mbsc-form mousedown.mbsc-form', function(a4R) {
                                     if (p0R(a4R, this)) {
                                         g0R = g2R(a4R, 'X');
                                         S0R = g2R(a4R, 'Y');
                                         if (a4R.type == 'touchstart') {
                                             G0R.removeClass('mbsc-no-touch');
                                         }
                                         if (a0R) {
                                             a0R.removeClass('mbsc-active');
                                         }
                                         if (!x0R.disabled) {
                                             O0R = true;
                                             a0R = q2R(this);
                                             q2R(this).addClass('mbsc-active');
                                             o0R('onControlActivate', {
                                                 target: this,
                                                 domEvent: a4R
                                             });
                                         }
                                     }
                                 }).on('touchmove.mbsc-form mousemove.mbsc-form', function(s4R) {
                                     if (O0R && Math.abs(g2R(s4R, 'X') - g0R) > 9 || Math.abs(g2R(s4R, 'Y') - S0R) > 9) {
                                         I0R.removeClass('mbsc-active');
                                         o0R('onControlDeactivate', {
                                             target: I0R[0],
                                             domEvent: s4R
                                         });
                                         O0R = false;
                                     }
                                 }).on('touchend.mbsc-form touchcancel.mbsc-form mouseleave.mbsc-form mouseup.mbsc-form', function(p4R) {
                                     if (O0R && f0R.tap && p4R.type == 'touchend' && !x0R.readOnly) {
                                         x0R.focus();
                                         if (/(button|submit|checkbox|switch|radio)/.test(m0R)) {
                                             p4R.preventDefault();
                                         }
                                         if (!/select/.test(m0R)) {
                                             var B4R = (p4R.originalEvent || p4R).changedTouches[0],
                                                 Y4R = b0R.createEvent('MouseEvents');
                                             Y4R.initMouseEvent('click', true, true, window, 1, B4R.screenX, B4R.screenY, B4R.clientX, B4R.clientY, false, false, false, false, 0, null);
                                             Y4R.tap = true;
                                             x0R.mbscChange = true;
                                             x0R.dispatchEvent(Y4R);
                                             J0R.preventClick();
                                         }
                                     }
                                     if (O0R) {
                                         setTimeout(function() {
                                             I0R.removeClass('mbsc-active');
                                             o0R('onControlDeactivate', {
                                                 target: I0R[0],
                                                 domEvent: p4R
                                             });
                                         }, 100);
                                     }
                                     O0R = false;
                                     a0R = null;
                                 });
                             }
                         }
                     });
                     if (!Z0R) {
                         e0R();
                     }
                 };
                 y0R._init = function() {
                     if (!S2R.themes.form[f0R.theme]) {
                         f0R.theme = 'mobiscroll';
                     }
                     if (!G0R.hasClass('mbsc-form')) {
                         G0R.on('touchstart', B0R).show();
                         q2R(window).on('resize orientationchange', e0R);
                     }
                     if (K0R) {
                         G0R.removeClass(K0R);
                     }
                     K0R = 'mbsc-form mbsc-no-touch mbsc-' + f0R.theme + (f0R.baseTheme ? ' mbsc-' + f0R.baseTheme : '') + (f0R.rtl ? ' mbsc-rtl' : ' mbsc-ltr');
                     G0R.addClass(K0R);
                     y0R.refresh();
                 };
                 y0R._destroy = function() {
                     var f4R;
                     G0R.removeClass(K0R).off('touchstart', B0R);
                     q2R(window).off('resize orientationchange', e0R);
                     q2R('.mbsc-control', G0R).off('.mbsc-form').removeClass('mbsc-control-ev');
                     for (f4R = 0; f4R < z0R.length; f4R++) {
                         z0R[f4R].destroy();
                     }
                 };
                 f0R = y0R.settings;
                 o0R = y0R.trigger;
                 y0R.init(j0R);
             };
             S2R.classes.Form.prototype = {
                 _hasDef: true,
                 _hasTheme: true,
                 _hasLang: true,
                 _class: 'form',
                 _defaults: {
                     tap: true,
                     stopProp: true,
                     lang: 'en'
                 }
             };
             S2R.themes.form.mobiscroll = {};
             S2R.presetShort('form', 'Form');
             S2R.classes.Stepper = function(e4R, L4R) {
                 function n4R(Y8R, f8R) {
                     var B8R = y4R.attr(Y8R);
                     return B8R === D0R || B8R === '' ? f8R : +B8R;
                 }

                 function V4R(s8R, p8R) {
                     clearInterval(j4R);
                     clearTimeout(j4R);
                     if (!l4R && s8R) {
                         w4R();
                     }
                     o4R = false;
                     l4R = false;
                     N4R.removeClass('mbsc-active');
                     if (Q4R) {
                         setTimeout(function() {
                             Q4R.trigger('onControlDeactivate', {
                                 target: N4R[0],
                                 domEvent: p8R
                             });
                         }, 100);
                     }
                 }

                 function v4R(a8R) {
                     if (!o4R) {
                         o4R = true;
                         l4R = false;
                         x4R = g2R(a8R, 'X');
                         X4R = g2R(a8R, 'Y');
                         clearInterval(j4R);
                         clearTimeout(j4R);
                         j4R = setTimeout(function() {
                             w4R();
                             j4R = setInterval(function() {
                                 w4R();
                             }, 150);
                         }, 300);
                     }
                 }

                 function w4R(J8R, D8R, b8R) {
                     r4R = G4R;
                     if (D8R === D0R) {
                         D8R = true;
                     }
                     if (b8R === D0R) {
                         b8R = D8R;
                     }
                     if (J8R !== D0R) {
                         G4R = Math.min(K4R, Math.max(Math.round(J8R / z4R) * z4R, h4R));
                     } else {
                         G4R = Math.min(K4R, Math.max(G4R + (N4R.hasClass('mbsc-stepper-minus') ? -z4R : z4R), h4R));
                     }
                     l4R = true;
                     t4R.removeClass('mbsc-step-disabled');
                     if (D8R) {
                         y4R.val(G4R);
                     }
                     if (G4R == h4R) {
                         T4R.addClass('mbsc-step-disabled');
                     } else if (G4R == K4R) {
                         c4R.addClass('mbsc-step-disabled');
                     }
                     if (G4R !== r4R && b8R) {
                         y4R.trigger('change');
                     }
                 }

                 function m4R() {
                     var g4R;
                     if (!e4R.disabled) {
                         g4R = parseFloat(q2R(this).val());
                         w4R(isNaN(g4R) ? G4R : g4R);
                     }
                 }

                 function A4R(S4R) {
                     if (o4R) {
                         i4R = g2R(S4R, 'X');
                         O4R = g2R(S4R, 'Y');
                         R4R = i4R - x4R;
                         P4R = O4R - X4R;
                         if (Math.abs(R4R) > 7 || Math.abs(P4R) > 7) {
                             V4R();
                         }
                     }
                 }

                 function u4R(q4R) {
                     if (o4R) {
                         q4R.preventDefault();
                         V4R(true, q4R);
                         if (q4R.type === 'mouseup') {
                             q2R(b0R).off('mousemove', A4R).off('mouseup', u4R);
                         }
                     }
                 }

                 function I4R(W4R) {
                     if (p0R(W4R, this) && !e4R.disabled) {
                         N4R = q2R(this).addClass('mbsc-active').trigger('focus');
                         if (Q4R) {
                             Q4R.trigger('onControlActivate', {
                                 target: N4R[0],
                                 domEvent: W4R
                             });
                         }
                         v4R(W4R);
                         if (W4R.type === 'mousedown') {
                             q2R(b0R).on('mousemove', A4R).on('mouseup', u4R);
                         }
                     }
                 }

                 function Z4R(U4R) {
                     if (o4R) {
                         U4R.preventDefault();
                         V4R(true);
                     }
                 }

                 function F4R(C4R) {
                     if (C4R.keyCode == 32) {
                         C4R.preventDefault();
                         if (!o4R && !e4R.disabled) {
                             N4R = q2R(this).addClass('mbsc-active');
                             v4R(C4R);
                         }
                     }
                 }
                 var N4R, c4R, T4R, t4R, o4R, l4R, R4R, P4R, M4R, i4R, O4R, j4R, K4R, h4R, z4R, k4R, x4R, X4R, G4R, d4R = this,
                     y4R = q2R(e4R),
                     H4R, E4R, r4R = G4R,
                     Q4R = L4R.form;
                 S2R.classes.Base.call(this, e4R, L4R, true);
                 d4R.getVal = function() {
                     var G8R = parseFloat(y4R.val());
                     G8R = isNaN(G8R) ? G4R : G8R;
                     return Math.min(K4R, Math.max(Math.round(G8R / z4R) * z4R, h4R));
                 };
                 d4R.setVal = function(y8R, z8R, K8R) {
                     y8R = parseFloat(y8R);
                     w4R(isNaN(y8R) ? G4R : y8R, z8R, K8R);
                 };
                 d4R._init = function(h8R) {
                     H4R = y4R.parent().hasClass('mbsc-stepper');
                     E4R = H4R ? y4R.closest('.mbsc-stepper-cont') : y4R.parent();
                     k4R = d4R.settings;
                     h4R = h8R.min === D0R ? n4R('min', k4R.min) : h8R.min;
                     K4R = h8R.max === D0R ? n4R('max', k4R.max) : h8R.max;
                     z4R = h8R.step === D0R ? n4R('step', k4R.step) : h8R.step;
                     M4R = y4R.attr('data-val') || k4R.val;
                     G4R = Math.min(K4R, Math.max(Math.round(+e4R.value / z4R) * z4R || 0, h4R));
                     if (!H4R) {
                         E4R.addClass('mbsc-stepper-cont mbsc-control-w').append('<span class="mbsc-segmented mbsc-stepper"></span>').find('.mbsc-stepper').append('<span class="mbsc-segmented-item mbsc-stepper-control mbsc-stepper-minus ' + (G4R == h4R ? 'mbsc-step-disabled' : '') + '"  tabindex="0"><span class="mbsc-segmented-content"><span class="mbsc-ic mbsc-ic-minus"></span></span></span>').append('<span class="mbsc-segmented-item mbsc-stepper-control mbsc-stepper-plus ' + (G4R == K4R ? 'mbsc-step-disabled' : '') + '"  tabindex="0"><span class="mbsc-segmented-content"> <span class="mbsc-ic mbsc-ic-plus"></span> </span></span>').prepend(y4R);
                     }
                     T4R = q2R('.mbsc-stepper-minus', E4R);
                     c4R = q2R('.mbsc-stepper-plus', E4R);
                     if (!H4R) {
                         if (M4R == 'left') {
                             E4R.addClass('mbsc-stepper-val-left');
                             y4R.after('<span class="mbsc-segmented-item"><span class="mbsc-segmented-content"></span></span>');
                         } else if (M4R == 'right') {
                             E4R.addClass('mbsc-stepper-val-right');
                             c4R.after('<span class="mbsc-segmented-item"><span class="mbsc-segmented-content"></span></span>');
                         } else {
                             T4R.after('<span class="mbsc-segmented-item"><span class="mbsc-segmented-content mbsc-stepper-val"></span></span>');
                         }
                     }
                     y4R.val(G4R).attr('data-role', 'stepper').attr('min', h4R).attr('max', K4R).attr('step', z4R).on('change', m4R);
                     t4R = q2R('.mbsc-stepper-control', E4R).on('keydown', F4R).on('keyup', Z4R).on('mousedown touchstart', I4R).on('touchmove', A4R).on('touchend touchcancel', u4R);
                     y4R.addClass('mbsc-stepper-ready mbsc-control');
                 };
                 d4R._destroy = function() {
                     y4R.removeClass('mbsc-control').off('change', m4R);
                     t4R.off('keydown', F4R).off('keyup', Z4R).off('mousedown touchstart', I4R).off('touchmove', A4R).off('touchend touchcancel', u4R);
                 };
                 d4R.init(L4R);
             };
             S2R.classes.Stepper.prototype = {
                 _class: 'stepper',
                 _defaults: {
                     min: 0,
                     max: 100,
                     step: 1
                 }
             };
             S2R.presetShort('stepper', 'Stepper');
             S2R.classes.Switch = function(e8R, E8R) {
                 var d8R, N8R, j8R, o8R = this;
                 E8R = E8R || {};
                 q2R.extend(E8R, {
                     changeEvent: 'click',
                     min: 0,
                     max: 1,
                     step: 1,
                     live: false,
                     round: false,
                     handle: false,
                     highlight: false
                 });
                 S2R.classes.Slider.call(this, e8R, E8R, true);
                 o8R._readValue = function() {
                     return e8R.checked ? 1 : 0;
                 };
                 o8R._fillValue = function(Q8R, w8R, k8R) {
                     d8R.prop('checked', !!Q8R);
                     if (k8R) {
                         d8R.trigger('change');
                     }
                 };
                 o8R._onTap = function(H8R) {
                     o8R._setVal(H8R ? 0 : 1);
                 };
                 o8R.__onInit = function() {
                     j8R = o8R.settings;
                     d8R = q2R(e8R);
                     N8R = d8R.parent();
                     N8R.find('.mbsc-switch-track').remove();
                     N8R.prepend(d8R);
                     d8R.attr('data-role', 'switch').after('<span class="mbsc-progress-cont mbsc-switch-track">' + '<span class="mbsc-progress-track mbsc-progress-anim">' + '<span class="mbsc-slider-handle-cont">' + '<span class="mbsc-slider-handle mbsc-switch-handle" data-index="0">' + '<span class="mbsc-switch-txt-off">' + j8R.offText + '</span>' + '<span class="mbsc-switch-txt-on">' + j8R.onText + '</span>' + '</span></span></span></span>');
                     o8R._$track = N8R.find('.mbsc-progress-track');
                 };
                 o8R.getVal = function() {
                     return e8R.checked;
                 };
                 o8R.setVal = function(l8R, u8R, A8R) {
                     o8R._setVal(l8R ? 1 : 0, u8R, A8R);
                 };
                 o8R.init(E8R);
             };
             S2R.classes.Switch.prototype = {
                 _class: 'switch',
                 _css: 'mbsc-switch',
                 _hasTheme: true,
                 _hasLang: true,
                 _defaults: {
                     stopProp: true,
                     offText: 'Off',
                     onText: 'On'
                 }
             };
             S2R.presetShort('switch', 'Switch');
             q2R(function() {
                 var c8R = '[mbsc-enhance],[mbsc-form]';
                 q2R(c8R).each(function() {
                     new S2R.classes.Form(this);
                 });
                 q2R(b0R).on('mbsc-enhance', function(L8R, r8R) {
                     if (q2R(L8R.target).is(c8R)) {
                         new S2R.classes.Form(L8R.target, r8R);
                     } else {
                         q2R(c8R, L8R.target).each(function() {
                             new S2R.classes.Form(this, r8R);
                         });
                     }
                 });
                 q2R(b0R).on('mbsc-refresh', function(T8R) {
                     var M8R;
                     if (q2R(T8R.target).is(c8R)) {
                         M8R = S2R.instances[T8R.target.id];
                         if (M8R) {
                             M8R.refresh();
                         }
                     } else {
                         q2R(c8R, T8R.target).each(function() {
                             M8R = S2R.instances[this.id];
                             if (M8R) {
                                 M8R.refresh();
                             }
                         });
                     }
                 });
             });
         }(document));
         (function(t8R) {
             var V8R = L9s,
                 n8R = V8R.$,
                 X8R = {
                     invalid: [],
                     showInput: true,
                     inputClass: ''
                 };
             V8R.presets.scroller.list = function(F8R) {
                 function f7R(u3R, M3R, c3R) {
                     var H3R, l3R = (M3R || 0) + 1,
                         L3R = [],
                         A3R = {},
                         r3R = {};
                     A3R = b7R(u3R, null, M3R);
                     for (H3R = 0; H3R < u3R.length; H3R++) {
                         F8R._tempWheelArray[H3R] = u3R[H3R] = c3R.nVector[H3R] || 0;
                     }
                     while (l3R < c3R.lvl) {
                         r3R[l3R] = R8R ? A3R[0][l3R] : A3R[l3R][0];
                         L3R.push(l3R++);
                     }
                     p7R(c3R.lvl);
                     C8R = u3R.slice(0);
                     if (L3R.length) {
                         v8R = true;
                         F8R.changeWheel(r3R);
                     }
                 }

                 function a7R(d3R) {
                     var o3R = [];
                     Z8R = Z8R > U8R++ ? Z8R : U8R;
                     d3R.children('li').each(function(w3R) {
                         var E3R = n8R(this),
                             e3R = E3R.clone();
                         e3R.children('ul,ol').remove();
                         var Q3R = F8R._processMarkup ? F8R._processMarkup(e3R) : e3R.html().replace(/^\s\s*/, '').replace(/\s\s*$/, ''),
                             k3R = E3R.attr('data-invalid') ? true : false,
                             N3R = {
                                 key: E3R.attr('data-val') === t8R || E3R.attr('data-val') === null ? w3R : E3R.attr('data-val'),
                                 value: Q3R,
                                 invalid: k3R,
                                 children: null
                             },
                             j3R = E3R.children('ul,ol');
                         if (j3R.length) {
                             N3R.children = a7R(j3R);
                         }
                         o3R.push(N3R);
                     });
                     U8R--;
                     return o3R;
                 }

                 function D7R(G3R, h3R) {
                     var K3R = [],
                         B3R = i8R,
                         Y3R = 0,
                         z3R = false,
                         f3R, y3R, p3R;
                     if (G3R[Y3R] !== t8R && Y3R <= h3R) {
                         f3R = 0;
                         y3R = G3R[Y3R];
                         p3R = t8R;
                         while (f3R < B3R.length && p3R === t8R) {
                             if (B3R[f3R].key == G3R[Y3R] && !B3R[f3R].invalid) {
                                 p3R = f3R;
                             }
                             f3R++;
                         }
                     } else {
                         p3R = O8R(B3R, true);
                         y3R = B3R[p3R].key;
                     }
                     z3R = p3R !== t8R ? B3R[p3R].children : false;
                     K3R[Y3R] = y3R;
                     while (z3R) {
                         B3R = B3R[p3R].children;
                         Y3R++;
                         z3R = false;
                         p3R = t8R;
                         if (G3R[Y3R] !== t8R && Y3R <= h3R) {
                             f3R = 0;
                             y3R = G3R[Y3R];
                             p3R = t8R;
                             while (f3R < B3R.length && p3R === t8R) {
                                 if (B3R[f3R].key == G3R[Y3R] && !B3R[f3R].invalid) {
                                     p3R = f3R;
                                 }
                                 f3R++;
                             }
                         } else {
                             p3R = O8R(B3R, true);
                             p3R = p3R === false ? t8R : p3R;
                             y3R = B3R[p3R].key;
                         }
                         z3R = p3R !== t8R && O8R(B3R[p3R].children) ? B3R[p3R].children : false;
                         K3R[Y3R] = y3R;
                     }
                     return {
                         lvl: Y3R + 1,
                         nVector: K3R
                     };
                 }

                 function z7R(s3R) {
                     var D3R = [],
                         b3R = s3R,
                         J3R, g7R = true,
                         a3R = 0;
                     while (g7R) {
                         J3R = O8R(b3R);
                         D3R[a3R++] = J3R.key;
                         g7R = J3R.children;
                         if (g7R) {
                             b3R = g7R;
                         }
                     }
                     return D3R;
                 }

                 function p7R(S7R) {
                     if (F8R._isVisible) {
                         n8R('.mbsc-sc-whl-w', F8R._markup).css('display', '').slice(S7R).hide();
                     }
                 }

                 function B7R(U7R, q7R) {
                     var W7R = {
                             data: [],
                             label: q7R
                         },
                         C7R = 0;
                     while (C7R < U7R.length) {
                         W7R.data.push({
                             value: U7R[C7R].key,
                             display: U7R[C7R].value
                         });
                         C7R++;
                     }
                     return W7R;
                 }

                 function O8R(O7R, R7R) {
                     if (!O7R) {
                         return false;
                     }
                     var m7R = 0,
                         v7R;
                     while (m7R < O7R.length) {
                         if (!(v7R = O7R[m7R++]).invalid) {
                             return R7R ? m7R - 1 : v7R;
                         }
                     }
                     return false;
                 }

                 function b7R(x7R, i7R, Z7R) {
                     var n7R = 0,
                         V7R, I7R, F7R, P7R = [
                             []
                         ],
                         X7R = i8R;
                     if (i7R) {
                         for (V7R = 0; V7R < i7R; V7R++) {
                             if (R8R) {
                                 P7R[0][V7R] = {};
                             } else {
                                 P7R[V7R] = [{}];
                             }
                         }
                     }
                     while (n7R < x7R.length) {
                         if (R8R) {
                             P7R[0][n7R] = B7R(X7R, S8R[n7R]);
                         } else {
                             P7R[n7R] = [B7R(X7R, S8R[n7R])];
                         }
                         V7R = 0;
                         F7R = t8R;
                         while (V7R < X7R.length && F7R === t8R) {
                             if (X7R[V7R].key == x7R[n7R] && (Z7R !== t8R && n7R <= Z7R || Z7R === t8R)) {
                                 F7R = V7R;
                             }
                             V7R++;
                         }
                         if (F7R !== t8R && X7R[F7R].children) {
                             n7R++;
                             X7R = X7R[F7R].children;
                         } else if ((I7R = O8R(X7R)) && I7R.children) {
                             n7R++;
                             X7R = I7R.children;
                         } else {
                             return P7R;
                         }
                     }
                     return P7R;
                 }

                 function G7R(t7R) {
                     var T7R = [],
                         M7R;
                     for (M7R = 0; M7R < t7R; M7R++) {
                         T7R[M7R] = P8R.labels && P8R.labels[M7R] ? P8R.labels[M7R] : M7R;
                     }
                     return T7R;
                 }

                 function y7R(L7R, r7R) {
                     var c7R = [];
                     while (L7R) {
                         c7R[--L7R] = true;
                     }
                     c7R[r7R] = false;
                     return c7R;
                 }

                 function K7R(l7R, u7R, A7R) {
                     var j7R = 0,
                         k7R, Q7R = A7R,
                         w7R = [];
                     while (j7R < u7R) {
                         var H7R = l7R[j7R];
                         for (k7R in Q7R) {
                             if (Q7R[k7R].key == H7R) {
                                 Q7R = Q7R[k7R].children;
                                 break;
                             }
                         }
                         j7R++;
                     }
                     j7R = 0;
                     while (j7R < Q7R.length) {
                         if (Q7R[j7R].invalid) {
                             w7R.push(Q7R[j7R].key);
                         }
                         j7R++;
                     }
                     return w7R;
                 }

                 function h7R(E7R, e7R, N7R) {
                     var o7R = 0,
                         d7R = [];
                     while (o7R < E7R) {
                         d7R[o7R] = K7R(N7R, o7R, e7R);
                         o7R++;
                     }
                     return d7R;
                 }
                 var Y7R = n8R.extend({}, F8R.settings),
                     P8R = n8R.extend(F8R.settings, X8R, Y7R),
                     q8R = P8R.layout || (/top|bottom/.test(P8R.display) ? 'liquid' : ''),
                     R8R = q8R == 'liquid',
                     s7R = P8R.readonly,
                     m8R = n8R(this),
                     x8R, v8R, W8R = this.id + '_dummy',
                     Z8R = 0,
                     U8R = 0,
                     I8R, C8R = [],
                     i8R = P8R.wheelArray || a7R(m8R),
                     S8R = G7R(Z8R),
                     g8R = z7R(i8R),
                     J7R = b7R(g8R, Z8R);
                 n8R('#' + W8R).remove();
                 if (P8R.showInput) {
                     x8R = n8R('<input type="text" id="' + W8R + '" value="" class="' + P8R.inputClass + '" placeholder="' + (P8R.placeholder || '') + '" readonly />').insertBefore(m8R);
                     P8R.anchor = x8R;
                     F8R.attachShow(x8R);
                 }
                 if (!P8R.wheelArray) {
                     m8R.hide();
                 }
                 return {
                     wheels: J7R,
                     layout: q8R,
                     headerText: false,
                     setOnTap: Z8R == 1,
                     formatValue: function(T3R) {
                         if (I8R === t8R) {
                             I8R = D7R(T3R, T3R.length).lvl;
                         }
                         return T3R.slice(0, I8R).join(' ');
                     },
                     parseValue: function(t3R) {
                         return t3R ? (t3R + '').split(' ') : (P8R.defaultValue || g8R).slice(0);
                     },
                     onBeforeShow: function() {
                         var n3R = F8R.getArrayVal(true);
                         C8R = n3R.slice(0);
                         P8R.wheels = b7R(n3R, Z8R, Z8R);
                         v8R = true;
                     },
                     onWheelGestureStart: function(V3R) {
                         P8R.readonly = y7R(Z8R, V3R.index);
                     },
                     onWheelAnimationEnd: function(Z3R) {
                         var X3R = Z3R.index,
                             P3R = F8R.getArrayVal(true),
                             F3R = D7R(P3R, X3R);
                         I8R = F3R.lvl;
                         P8R.readonly = s7R;
                         if (P3R[X3R] != C8R[X3R]) {
                             f7R(P3R, X3R, F3R);
                         }
                     },
                     onFill: function(I3R) {
                         I8R = t8R;
                         if (x8R) {
                             x8R.val(I3R.valueText);
                         }
                     },
                     validate: function(O3R) {
                         var x3R = O3R.values,
                             m3R = O3R.index,
                             i3R = D7R(x3R, x3R.length);
                         I8R = i3R.lvl;
                         if (m3R === t8R) {
                             p7R(i3R.lvl);
                             if (!v8R) {
                                 f7R(x3R, m3R, i3R);
                             }
                         }
                         v8R = false;
                         return {
                             disabled: h7R(I8R, i8R, x3R)
                         };
                     },
                     onDestroy: function() {
                         if (x8R) {
                             x8R.remove();
                         }
                         m8R.show();
                     }
                 };
             };
         }());
         (function() {
             var v3R = L9s,
                 R3R = v3R.$,
                 C3R = v3R.presets.scroller;
             v3R.presetShort('image');
             C3R.image = function(U3R) {
                 if (U3R.settings.enhance) {
                     U3R._processMarkup = function(W3R) {
                         var q3R = W3R.attr('data-icon');
                         W3R.children().each(function(g3R, S3R) {
                             S3R = R3R(S3R);
                             if (S3R.is('img')) {
                                 R3R('<div class="mbsc-img-c"></div>').insertAfter(S3R).append(S3R.addClass('mbsc-img'));
                             } else if (S3R.is('p')) {
                                 S3R.addClass('mbsc-img-txt');
                             }
                         });
                         if (q3R) {
                             W3R.prepend('<div class="mbsc-ic mbsc-ic-' + q3R + '"></div');
                         }
                         W3R.html('<div class="mbsc-img-w">' + W3R.html() + '</div>');
                         return W3R.html();
                     };
                 }
                 return C3R.list.call(this, U3R);
             };
         }());
          (function(t49, P49, F49) {
            var a49, i49 = L9s,
                q49 = i49.$,
                A49 = q49.extend,
                d49 = i49.classes,
                c49 = i49.util,
                E49 = c49.prefix,
                w49 = c49.jsPrefix,
                K49 = c49.getCoord,
                Q49 = c49.testTouch,
                U49 = c49.vibrate,
                Z49 = c49.animEnd,
                C49 = 1,
                x49 = function() {},
                m49 = t49.requestAnimationFrame || function(Y49) {
                    Y49();
                },
                p49 = t49.cancelAnimationFrame || x49,
                M49 = 'transparent';
            d49.ListView = function(R99, s89) {
                function i89(I09, e09, r09) {
                    var s09, O09;
                    if (I09 && I09.length) {
                        s09 = 100 / (I09.length + 2);
                        q49.each(I09, function(n09, G09) {
                            if (G09.key === F49) {
                                G09.key = M89++;
                            }
                            if (G09.percent === F49) {
                                G09.percent = e09 * s09 * (n09 + 1);
                                if (r09) {
                                    O09 = A49({}, G09);
                                    O09.key = M89++;
                                    O09.percent = -s09 * (n09 + 1);
                                    I09.push(O09);
                                    V79[O09.key] = O09;
                                }
                            }
                            V79[G09.key] = G09;
                        });
                    }
                }

                function E89(J09, k09) {
                    var B09, V09 = J09.attr('data-ref');
                    B09 = K89[V09] = K89[V09] || [];
                    if (k09) {
                        B09.push(k09);
                    }
                    if (J09.attr('data-action')) {
                        return;
                    }
                    k09 = B09.shift();
                    J09.attr('data-action', 1);
                    k09(function() {
                        J09.removeAttr('data-action');
                        if (B09.length) {
                            E89(J09);
                        } else {
                            delete K89[V09];
                        }
                    });
                }

                function E99(X09, v09, L09) {
                    function u09() {
                        clearTimeout(o09);
                        l79--;
                        X09.off(Z49, u09).removeClass(v09);
                        L09.call(G49, X09);
                    }
                    var o09;
                    L09 = L09 || x49;
                    if (v49.animation && v09 !== 'mbsc-lv-item-none') {
                        l79++;
                        X09.on(Z49, u09).addClass(v09);
                        o09 = setTimeout(u09, 500);
                    } else {
                        L09.call(G49, X09);
                    }
                }

                function U89(p09, Y09) {
                    if (!l79) {
                        if (p09.hasClass('mbsc-lv-parent')) {
                            C79++;
                            m89('r', W49[p09.attr('data-ref')].child, null, Y09);
                        } else if (p09.hasClass('mbsc-lv-back')) {
                            C79--;
                            m89('l', W49[p09.attr('data-back')].parent, W49[p09.attr('data-back')].item, Y09);
                        }
                    }
                }

                function m89(M09, A09, t09, U09, Q09) {
                    var m09 = A09.parent(),
                        Z09 = A09.prev();
                    U09 = U09 || x49;
                    if (Z09[0] === S49[0]) {
                        Z09 = S49.prev();
                    }
                    if (j49[0] !== A09[0]) {
                        I49('onNavStart', {
                            level: C79,
                            direction: M09,
                            list: A09[0]
                        });
                        d89.prepend(A09.addClass('mbsc-lv-v mbsc-lv-sl-new'));
                        k79(o49);
                        E99(d89, 'mbsc-lv-sl-' + M09, function() {
                            j49.removeClass('mbsc-lv-sl-curr');
                            A09.removeClass('mbsc-lv-sl-new').addClass('mbsc-lv-sl-curr');
                            if (s79 && s79.length) {
                                j49.removeClass('mbsc-lv-v').insertAfter(s79);
                            } else {
                                j79.append(j49.removeClass('mbsc-lv-v'));
                            }
                            s79 = Z09;
                            j79 = m09;
                            j49 = A09;
                            k79(t09, Q09);
                            U09.call(G49, t09);
                            I49('onNavEnd', {
                                level: C79,
                                direction: M09,
                                list: A09[0]
                            });
                        });
                    } else {
                        k79(t09, Q09);
                        U09.call(G49, t09);
                    }
                }

                function k79(C09, E09) {
                    if (C09) {
                        var x09 = k49.scrollTop(),
                            d09 = C09.is('.mbsc-lv-item') ? C09[0].offsetHeight : 0,
                            P09 = C09.offset().top + (y79 ? x09 - Z89 : 0);
                        if (E09) {
                            if (P09 < x09 || P09 + d09 > x09 + X79) {
                                k49.scrollTop(P09);
                            }
                        } else {
                            if (P09 < x09) {
                                k49.scrollTop(P09);
                            } else if (P09 + d09 > x09 + X79) {
                                k49.scrollTop(P09 + d09 - X79 / 2);
                            }
                        }
                    }
                }

                function P99(F09, i09) {
                    return +(i09 < 0 ? w79((F09.actionsWidth || 0).right) || w79(F09.actionsWidth) || w79(v49.actionsWidth.right) || w79(v49.actionsWidth) : w79((F09.actionsWidth || 0).left) || w79(F09.actionsWidth) || w79(v49.actionsWidth.left) || w79(v49.actionsWidth));
                }

                function w79(a09) {
                    return c49.isNumeric(a09) ? a09 + '' : 0;
                }

                function F99(w09) {
                    return (w09 > 0 ? J49.right : J49.left).color || M49;
                }

                function n79(c09, K09) {
                    c09 = c09[K09]();
                    while (c09.length && (!c09.hasClass('mbsc-lv-item') || c09.hasClass('mbsc-lv-ph') || c09.hasClass('mbsc-lv-item-dragging'))) {
                        if (!X49.sortable.group && c09.hasClass('mbsc-lv-gr-title')) {
                            return false;
                        }
                        c09 = c09[K09]();
                    }
                    return c09;
                }

                function U99(q09) {
                    var H09 = 0,
                        l09 = W49[q09.attr('data-ref')];
                    while (l09 && l09.ref) {
                        H09++;
                        l09 = W49[l09.ref];
                    }
                    return H09;
                }

                function Z79(b09) {
                    if (typeof b09 !== 'object') {
                        b09 = q49('li[data-id="' + b09 + '"]', o49);
                    }
                    return q49(b09);
                }

                function o79(y09) {
                    return y09.children('li').not('.mbsc-lv-back').not('.mbsc-lv-removed').not('.mbsc-lv-ph');
                }

                function q99(f09) {
                    q49('li', f09).not('.mbsc-lv-item').each(function() {
                        H99(q49(this));
                    });
                    q49('li[data-role="list-divider"]', f09).removeClass('mbsc-lv-item').addClass('mbsc-lv-gr-title');
                    q49('ul,ol', f09).not('.mbsc-lv').addClass('mbsc-lv').prepend(P89).parent().addClass('mbsc-lv-parent').prepend(x89);
                    q49('.mbsc-lv-back', f09).each(function() {
                        q49(this).attr('data-back', q49(this).parent().parent().attr('data-ref'));
                    });
                }

                function H99(D39) {
                    var W39;
                    if (!D39.attr('data-ref')) {
                        W39 = C49++;
                        D39.attr('data-ref', W39);
                        W49[W39] = {
                            item: D39,
                            child: D39.children('ul,ol'),
                            parent: D39.parent(),
                            ref: D39.parent()[0] === G49 ? null : D39.parent().parent().attr('data-ref')
                        };
                    }
                    D39.addClass('mbsc-lv-item');
                    if (X49.sortable.handle && D39.attr('data-role') != 'list-divider' && !D39.children('.mbsc-lv-handle-c').length) {
                        D39.append(K99);
                    }
                    if (v49.enhance && !D39.hasClass('mbsc-lv-item-enhanced')) {
                        var R09 = D39.attr('data-icon'),
                            z09 = D39.find('img').eq(0).addClass('mbsc-lv-img');
                        if (z09.is(':first-child')) {
                            D39.addClass('mbsc-lv-img-' + (v49.rtl ? 'right' : 'left'));
                        } else if (z09.length) {
                            D39.addClass('mbsc-lv-img-' + (v49.rtl ? 'left' : 'right'));
                        }
                        D39.addClass('mbsc-lv-item-enhanced').children().each(function(T09, N09) {
                            N09 = q49(N09);
                            if (N09.is('p, h1, h2, h3, h4, h5, h6')) {
                                N09.addClass('mbsc-lv-txt');
                            }
                        });
                        if (R09) {
                            D39.addClass('mbsc-lv-item-ic-' + (D39.attr('data-icon-align') || (v49.rtl ? 'right' : 'left'))).append('<div class="mbsc-lv-item-ic mbsc-ic mbsc-ic-' + R09 + '"></div>');
                        }
                    }
                }

                function m79(h39, S39) {
                    return q49.isFunction(h39) ? h39.call(this, S39, X49) : h39;
                }

                function Y79(g39) {
                    N79 = g39[0].style;
                    N79[w49 + 'Transform'] = '';
                    N79[w49 + 'Transition'] = '';
                    N79.top = '';
                    g39.removeClass('mbsc-lv-item-swiping');
                }

                function y99(j39) {
                    j39.css('top', '').removeClass('mbsc-lv-item-undo');
                    if (R89) {
                        X49.animate(z79, 'collapse', function() {
                            z79.remove();
                        });
                    } else {
                        z79.remove();
                    }
                    v89();
                    W79 = null;
                    R89 = null;
                }

                function v89(G39, n39) {
                    if (!T79) {
                        u79.attr('class', 'mbsc-lv-ic-s mbsc-lv-ic mbsc-ic mbsc-ic-none');
                        B49.attr('style', '').removeClass('mbsc-lv-stage-c-v');
                        g79.html('');
                    }
                    B49.removeClass('mbsc-lv-left mbsc-lv-right');
                    if (G39) {
                        I49('onSlideEnd', {
                            target: G39[0],
                            index: u49
                        });
                        if (n39) {
                            n39();
                        }
                    }
                }

                function N89(s39, r39) {
                    var e39 = m79(s39.text, {
                        target: L49[0],
                        index: u49
                    }) || '';
                    if (m79(s39.disabled, {
                            target: L49[0],
                            index: u49
                        })) {
                        B49.addClass('mbsc-lv-ic-disabled');
                    } else {
                        B49.removeClass('mbsc-lv-ic-disabled');
                    }
                    B49.css('background-color', s39.color || (s39.percent === 0 ? F99(s49) : M49));
                    S49.attr('class', 'mbsc-lv-ic-c mbsc-lv-ic-' + (r39 ? 'move-' : '') + (s49 < 0 ? 'right' : 'left'));
                    u79.attr('class', ' mbsc-lv-ic-s mbsc-lv-ic mbsc-ic mbsc-ic-' + (s39.icon || 'none'));
                    g79.attr('class', 'mbsc-lv-ic-text' + (s39.icon ? '' : ' mbsc-lv-ic-text-only') + (e39 ? '' : ' mbsc-lv-ic-only')).html(e39 || '&nbsp;');
                    if (v49.animateIcons) {
                        if (l89) {
                            u79.addClass('mbsc-lv-ic-v');
                        } else {
                            setTimeout(function() {
                                u79.addClass('mbsc-lv-ic-a');
                            }, 10);
                        }
                    }
                }

                function C89() {
                    clearTimeout(h79);
                    if (!y89 && X49.sortable) {
                        y89 = true;
                        J79.remove();
                    }
                }

                function z99(I39, B39, V39, O39) {
                    B39 = Math.max(F89, Math.min(B39, c89));
                    N79 = I39[0].style;
                    N79[w49 + 'Transform'] = 'translate3d(0,' + B39 + 'px,0)';
                    N79[w49 + 'Transition'] = E49 + 'transform ' + (V39 || 0) + 'ms ease-out';
                    if (O39) {
                        l79++;
                        setTimeout(function() {
                            O39();
                            l79--;
                        }, V39);
                    }
                }

                function U79(u39, v39, o39, k39, J39) {
                    v39 = Math.max(H79 == 'right' ? 0 : -100, Math.min(v39, H79 == 'left' ? 0 : 100));
                    N79 = u39[0].style;
                    u39.attr('data-pos', v39);
                    N79[w49 + 'Transform'] = 'translate3d(' + (k39 ? E79 * v39 / 100 + 'px' : v39 + '%') + ',0,0)';
                    N79[w49 + 'Transition'] = E49 + 'transform ' + (o39 || 0) + 'ms';
                    if (J39) {
                        l79++;
                        setTimeout(function() {
                            J39();
                            l79--;
                        }, o39);
                    }
                    s49 = v39;
                }

                function e79(Y39, L39, X39) {
                    q49(P49).off('.mbsc-lv-conf');
                    S49.off('.mbsc-lv-conf');
                    if (L39 !== false) {
                        U79(Y39, 0, Y39.attr('data-pos') !== '0' ? 200 : 0, false, function() {
                            v89(Y39, X39);
                            Y79(Y39);
                        });
                    } else {
                        v89(Y39, X39);
                    }
                    a49 = false;
                }

                function D89() {
                    U79(L49, W89 + g49 * 100 / E79);
                    H89 = false;
                }

                function S89(Z39, d39, M39, E39, A39) {
                    var t39, U39;
                    a49 = true;
                    q49(P49).off('.mbsc-lv-conf').on('touchstart.mbsc-lv-conf mousedown.mbsc-lv-conf', function(Q39) {
                        Q39.preventDefault();
                        if (E39) {
                            y99(d39);
                        }
                        e79(d39, true, A39);
                    });
                    if (!B79) {
                        S49.off('.mbsc-lv-conf').on('touchstart.mbsc-lv-conf mousedown.mbsc-lv-conf', function(m39) {
                            m39.stopPropagation();
                            t39 = K49(m39, 'X');
                            U39 = K49(m39, 'Y');
                        }).on('touchend.mbsc-lv-conf mouseup.mbsc-lv-conf', function(p39) {
                            p39.preventDefault();
                            if (p39.type === 'touchend') {
                                c49.preventClick();
                            }
                            if (Math.abs(K49(p39, 'X') - t39) < 10 && Math.abs(K49(p39, 'Y') - U39) < 10) {
                                p89(Z39, d39, M39, A39);
                                if (E39) {
                                    R89 = null;
                                    y99(d39);
                                }
                            }
                        });
                    }
                }

                function p89(F39, a39, i39, C39) {
                    var P39, x39 = {
                        icon: 'undo2',
                        text: v49.undoText,
                        color: '#b1b1b1',
                        action: function() {
                            X49.undo();
                        }
                    };
                    if (F39.undo) {
                        X49.startActionTrack();
                        if (q49.isFunction(F39.undo)) {
                            X49.addUndoAction(function() {
                                F39.undo.call(G49, {
                                    target: a39[0],
                                    index: i39
                                }, X49);
                            });
                        }
                        W79 = a39.attr('data-ref');
                    }
                    P39 = F39.action.call(G49, {
                        target: a39[0],
                        index: i39
                    }, X49);
                    if (F39.undo) {
                        X49.endActionTrack();
                        if (P39 !== false) {
                            U79(a39, +a39.attr('data-pos') < 0 ? -100 : 100, 200);
                        }
                        z79.height(O49).insertAfter(a39);
                        a39.css('top', r49).addClass('mbsc-lv-item-undo');
                        a89.hide();
                        S49.show();
                        B49.append(S49);
                        N89(x39);
                        S89(x39, a39, i39, true, C39);
                    } else {
                        e79(a39, P39, C39);
                    }
                }

                function g89(w39, K39) {
                    if (m79(K39.disabled, {
                            target: L49[0],
                            index: u49
                        })) {
                        q49('.mbsc-ic-' + K39.icon, B49).addClass('mbsc-lv-ic-disabled');
                    }
                }

                function M99() {
                    if (x79 || !T79) {
                        var b39, l39 = k49.scrollTop(),
                            y39 = V49.offset().top,
                            H39 = V49[0].offsetHeight,
                            f39 = y79 ? k49.offset().top : l39;
                        q49('.mbsc-lv-gr-title', V49).each(function(c39, q39) {
                            if (q49(q39).offset().top < f39) {
                                b39 = q39;
                            }
                        });
                        if (y39 < f39 && y39 + H39 > f39) {
                            b79.show().empty().append(q49(b39).clone());
                        } else {
                            b79.hide();
                        }
                    }
                }

                function n89(T39) {
                    if (D79) {
                        T39.stopPropagation();
                        T39.preventDefault();
                        D79 = false;
                    }
                }

                function o89() {
                    clearTimeout(a99);
                    a99 = setTimeout(function() {
                        X79 = k49[0].innerHeight || k49.innerHeight();
                        Z89 = y79 ? k49.offset().top : 0;
                        if (T79) {
                            r49 = L49[0].offsetTop;
                            O49 = L49[0].offsetHeight;
                            B49.css({
                                top: r49,
                                height: O49
                            });
                        }
                    }, 200);
                }

                function r89() {
                    if (!z89) {
                        clearTimeout(b99);
                        if (a49) {
                            q49(P49).trigger('touchstart');
                        }
                        if (Q89) {
                            X49.close(q79, b89);
                            Q89 = false;
                            q79 = null;
                        }
                    }
                }

                function I79(D99, W99, R39, z39) {
                    D99.removeClass('mbsc-lv-item-dragging');
                    z79.remove();
                    I49('onSortEnd', {
                        target: D99[0],
                        index: D49
                    });
                    if (v49.vibrate) {
                        U49();
                    }
                    if (z39) {
                        X49.addUndoAction(function(N39) {
                            X49.move(D99, W99, null, N39, R39, true);
                        }, true);
                        I49('onSortUpdate', {
                            target: D99[0],
                            index: D49
                        });
                    }
                }

                function J89() {
                    x79 = true;
                    R79 = false;
                    f79 = false;
                    L79 = 0;
                    D49 = u49;
                    if (v49.vibrate) {
                        U49();
                    }
                    h49 = n79(L49, 'next');
                    c79 = h49.length && h49[0].offsetTop;
                    e49 = n79(L49, 'prev');
                    K79 = e49.length && e49[0].offsetTop + e49[0].offsetHeight;
                    z79.height(O49).insertAfter(L49);
                    L49.css({
                        top: r49
                    }).addClass('mbsc-lv-item-dragging').removeClass('mbsc-lv-item-active').appendTo(d99);
                    I49('onSortStart', {
                        target: L49[0],
                        index: D49
                    });
                }

                function l99(r99) {
                    var j99, g99, n99, G99 = false,
                        h99 = true;
                    p49(N99);
                    H89 = false;
                    if (!t79) {
                        D89();
                    }
                    if (J49.actions) {
                        if (Math.abs(s49) > 10 && O79) {
                            U79(L49, s49 < 0 ? -O79 : O79, 200);
                            G99 = true;
                            a49 = true;
                            j89 = L49;
                            f99 = u49;
                            q49(P49).on('touchstart.mbsc-lv-conf mousedown.mbsc-lv-conf', function(S99) {
                                S99.preventDefault();
                                e79(L49, true, r99);
                            });
                        }
                    } else if (s49) {
                        if (v49.quickSwipe && !t79) {
                            n99 = new Date() - h89;
                            j99 = n99 < 300 && g49 < -50;
                            g99 = n99 < 300 && g49 > 50;
                            if (j99) {
                                l89 = true;
                                n49 = J49.left;
                                N89(n49, v49.iconSlide);
                            } else if (g99) {
                                l89 = true;
                                n49 = J49.right;
                                N89(n49, v49.iconSlide);
                            }
                        }
                        if (n49 && n49.action) {
                            A99 = m79(n49.disabled, {
                                target: L49[0],
                                index: u49
                            });
                            if (!A99) {
                                G99 = true;
                                a49 = t79 || m79(n49.confirm, {
                                    target: L49[0],
                                    index: u49
                                });
                                if (a49) {
                                    U79(L49, (s49 < 0 ? -1 : 1) * S49[0].offsetWidth * 100 / E79, 200, true);
                                    S89(n49, L49, u49, false, r99);
                                } else {
                                    p89(n49, L49, u49, r99);
                                }
                            }
                        }
                    }
                    if (!G99) {
                        e79(L49, h99, r99);
                    }
                    H79 = false;
                }

                function V89() {
                    var e99 = false;
                    if (!H89) {
                        if (J49.actions) {
                            B49.attr('class', 'mbsc-lv-stage-c-v mbsc-lv-stage-c mbsc-lv-' + (s49 < 0 ? 'right' : 'left'));
                        } else {
                            if (F79 && s49 <= F79.percent) {
                                a79--;
                                i79 = F79;
                                F79 = v79[a79];
                                e99 = true;
                            } else if (i79 && s49 >= i79.percent) {
                                a79++;
                                F79 = i79;
                                i79 = v79[a79];
                                e99 = true;
                            }
                            if (e99) {
                                n49 = s49 > 0 ? F79 : i79;
                                if (n49) {
                                    N89(n49, v49.iconSlide);
                                    I49('onStageChange', {
                                        target: L49[0],
                                        index: u49,
                                        stage: n49
                                    });
                                }
                            }
                        }
                        if (!t79) {
                            H89 = true;
                            N99 = m49(D89);
                        }
                    }
                }

                function I89() {
                    H79 = m79(J49.swipe, {
                        target: L49[0],
                        index: u49,
                        direction: g49 > 0 ? 'right' : 'left'
                    });
                    if (H79) {
                        C89();
                        clearTimeout(M79);
                        if (J49.actions) {
                            O79 = P99(J49, g49);
                            a89.html(J49.icons).show().children().css('width', O79 + '%');
                            S49.hide();
                            q49('.mbsc-lv-ic-m', B49).removeClass('mbsc-lv-ic-disabled');
                            q49(J49.leftMenu).each(g89);
                            q49(J49.rightMenu).each(g89);
                        } else {
                            S49.show();
                            a89.hide();
                            a79 = J49.start + (g49 > 0 ? 0 : 1);
                            F79 = v79[a79 - 1];
                            i79 = v79[a79];
                        }
                        L49.addClass('mbsc-lv-item-swiping').removeClass('mbsc-lv-item-active');
                        g79.css('line-height', O49 + 'px');
                        B49.css({
                            top: r49,
                            height: O49,
                            backgroundColor: F99(g49)
                        }).addClass('mbsc-lv-stage-c-v').appendTo(j49.parent());
                        if (v49.iconSlide) {
                            L49.append(S49);
                        }
                        I49('onSlideStart', {
                            target: L49[0],
                            index: u49
                        });
                    }
                }

                function f89(V99) {
                    var O99, k99, B99, I99, s99 = L49;
                    if (T79) {
                        T79 = false;
                        C89();
                        if (V99.type == 'mouseup') {
                            q49(P49).off('mousemove', k89).off('mouseup', f89);
                        }
                        if (!A79) {
                            T99 = setTimeout(function() {
                                z89 = false;
                            }, 300);
                        }
                        if (H79 || A79 || x79) {
                            D79 = true;
                        }
                        if (H79) {
                            l99();
                        } else if (x79) {
                            B99 = j49;
                            if (R79) {
                                Y79(L49.detach());
                                k99 = W49[R79.attr('data-ref')];
                                D49 = o79(k99.child).length;
                                R79.removeClass('mbsc-lv-item-hl');
                                if (v49.navigateOnDrop) {
                                    U89(R79, function() {
                                        X49.add(null, L49, null, null, R79, true);
                                        k79(L49);
                                        I79(L49, u49, B99, true);
                                    });
                                } else {
                                    X49.add(null, L49, null, null, R79, true);
                                    I79(L49, u49, B99, true);
                                }
                            } else if (f79) {
                                Y79(L49.detach());
                                k99 = W49[f79.attr('data-back')];
                                D49 = o79(k99.parent).index(k99.item) + 1;
                                f79.removeClass('mbsc-lv-item-hl');
                                if (v49.navigateOnDrop) {
                                    U89(f79, function() {
                                        X49.add(null, L49, D49, null, j49, true);
                                        k79(L49);
                                        I79(L49, u49, B99, true);
                                    });
                                } else {
                                    X49.add(null, L49, D49, null, k99.parent, true);
                                    I79(L49, u49, B99, true);
                                }
                            } else {
                                O99 = z79[0].offsetTop - r49;
                                z99(L49, O99, Math.abs(O99 - Math.max(F89, Math.min(d79 + L79, c89))) * 6, function() {
                                    Y79(L49);
                                    L49.insertBefore(z79);
                                    I79(L49, u49, B99, D49 !== u49);
                                });
                            }
                            x79 = false;
                        } else if (!A79 && Math.abs(g49) < 5 && Math.abs(d79) < 5) {
                            if (J49.tap) {
                                I99 = J49.tap.call(G49, {
                                    target: L49,
                                    index: u49,
                                    domEvent: V99
                                }, X49);
                            }
                            if (B89) {
                                if (V99.type === 'touchend') {
                                    c49.preventClick();
                                }
                                L49.addClass('mbsc-lv-item-active');
                                I49('onItemActivate', {
                                    target: L49[0],
                                    domEvent: V99
                                });
                            }
                            I99 = I49('onItemTap', {
                                target: L49[0],
                                index: u49,
                                domEvent: V99
                            });
                            if (I99 !== false) {
                                U89(L49);
                            }
                        }
                        clearTimeout(M79);
                        setTimeout(function() {
                            s99.removeClass('mbsc-lv-item-active');
                            I49('onItemDeactivate', {
                                target: s99[0]
                            });
                        }, 100);
                        A79 = false;
                        n49 = null;
                    }
                }

                function k89(L99) {
                    var X99 = false,
                        v99 = true;
                    if (T79) {
                        x99 = K49(L99, 'X');
                        i99 = K49(L99, 'Y');
                        g49 = x99 - r79;
                        d79 = i99 - G79;
                        clearTimeout(C99);
                        if (!x79 && !H79 && !A79 && !L49.hasClass('mbsc-lv-back')) {
                            if (Math.abs(d79) > 10) {
                                A79 = true;
                                f89(A49({}, L99, {
                                    type: L99.type == 'mousemove' ? 'mouseup' : 'touchend'
                                }));
                                clearTimeout(M79);
                            } else if (Math.abs(g49) > 7) {
                                I89();
                            }
                        }
                        if (H79) {
                            L99.preventDefault();
                            s49 = g49 / E79 * 100;
                            V89();
                        } else if (x79) {
                            L99.preventDefault();
                            var J99, u99 = k49.scrollTop(),
                                Y99 = Math.max(F89, Math.min(d79 + L79, c89)),
                                o99 = y79 ? L89 - Z89 + u99 - L79 : L89;
                            if (X79 + u99 < o99 + Y99 + O49) {
                                k49.scrollTop(o99 + Y99 - X79 + O49);
                                J99 = true;
                            } else if (o99 + Y99 < u99) {
                                k49.scrollTop(o99 + Y99);
                                J99 = true;
                            }
                            if (J99) {
                                L79 += k49.scrollTop() - u99;
                            }
                            if (c79) {
                                if (X49.sortable.multiLevel && h49.hasClass('mbsc-lv-parent')) {
                                    if (r49 + O49 / 4 + Y99 > c79) {
                                        X99 = true;
                                    } else if (r49 + O49 - O49 / 4 + Y99 > c79) {
                                        R79 = h49.addClass('mbsc-lv-item-hl');
                                        v99 = false;
                                    }
                                } else if (r49 + O49 / 2 + Y99 > c79) {
                                    if (h49.hasClass('mbsc-lv-back')) {
                                        if (X49.sortable.multiLevel) {
                                            f79 = h49.addClass('mbsc-lv-item-hl');
                                            v99 = false;
                                        }
                                    } else {
                                        X99 = true;
                                    }
                                }
                                if (X99) {
                                    z79.insertAfter(h49);
                                    e49 = h49;
                                    h49 = n79(h49, 'next');
                                    K79 = c79;
                                    c79 = h49.length && h49[0].offsetTop;
                                    D49++;
                                }
                            }
                            if (!X99 && K79) {
                                if (X49.sortable.multiLevel && e49.hasClass('mbsc-lv-parent')) {
                                    if (r49 + O49 - O49 / 4 + Y99 < K79) {
                                        X99 = true;
                                    } else if (r49 + O49 / 4 + Y99 < K79) {
                                        R79 = e49.addClass('mbsc-lv-item-hl');
                                        v99 = false;
                                    }
                                } else if (r49 + O49 / 2 + Y99 < K79) {
                                    if (e49.hasClass('mbsc-lv-back')) {
                                        if (X49.sortable.multiLevel) {
                                            f79 = e49.addClass('mbsc-lv-item-hl');
                                            v99 = false;
                                        }
                                    } else {
                                        X99 = true;
                                    }
                                }
                                if (X99) {
                                    z79.insertBefore(e49);
                                    h49 = e49;
                                    e49 = n79(e49, 'prev');
                                    c79 = K79;
                                    K79 = e49.length && e49[0].offsetTop + e49[0].offsetHeight;
                                    D49--;
                                }
                            }
                            if (v99) {
                                if (R79) {
                                    R79.removeClass('mbsc-lv-item-hl');
                                    R79 = false;
                                }
                                if (f79) {
                                    f79.removeClass('mbsc-lv-item-hl');
                                    f79 = false;
                                }
                            }
                            if (X99) {
                                I49('onSortChange', [L49, D49]);
                            }
                            z99(L49, Y99);
                            I49('onSort', [L49, D49]);
                        } else if (Math.abs(g49) > 5 || Math.abs(d79) > 5) {
                            C89();
                        }
                    }
                }

                function Q99(m99) {
                    var p99;
                    if (m99.type === 'touchstart') {
                        z89 = true;
                        clearTimeout(T99);
                    }
                    if (Q49(m99, this) && !T79 && !l79 && !a49 && !T89 && R.SJbOo) {
                        T79 = true;
                        y89 = true;
                        r79 = K49(m99, 'X');
                        G79 = K49(m99, 'Y');
                        g49 = 0;
                        d79 = 0;
                        L49 = q49(this);
                        p99 = L49;
                        e89();
                        B89 = v49.onItemTap || J49.tap || L49.hasClass('mbsc-lv-parent') || L49.hasClass('mbsc-lv-back');
                        Z99 = V49.offset().top;
                        L89 = L49.offset().top;
                        if (B89) {
                            M79 = setTimeout(function() {
                                p99.addClass('mbsc-lv-item-active');
                                I49('onItemActivate', {
                                    target: p99[0],
                                    domEvent: m99
                                });
                            }, 120);
                        }
                        if (X49.sortable && !L49.hasClass('mbsc-lv-back')) {
                            if (!X49.sortable.group) {
                                t89 = L49.nextUntil('.mbsc-lv-gr-title').filter('.mbsc-lv-item');
                                X89 = L49.prevUntil('.mbsc-lv-gr-title').filter('.mbsc-lv-item');
                            }
                            F89 = (!X49.sortable.group ? X89.length ? X89.eq(-1) : L49 : j49.children('li').eq(0))[0].offsetTop - r49;
                            c89 = (!X49.sortable.group ? t89.length ? t89.eq(-1) : L49 : j49.children('li').eq(-1))[0].offsetTop - r49;
                            if (X49.sortable.handle) {
                                if (q49(m99.target).hasClass('mbsc-lv-handle')) {
                                    clearTimeout(M79);
                                    if (w49 === 'Moz') {
                                        m99.preventDefault();
                                        J89();
                                    } else {
                                        h79 = setTimeout(function() {
                                            J89();
                                        }, 100);
                                    }
                                }
                            } else {
                                h79 = setTimeout(function() {
                                    J79.appendTo(L49);
                                    J79[0].style[w49 + 'Animation'] = 'mbsc-lv-fill ' + (v49.sortDelay - 100) + 'ms linear';
                                    clearTimeout(C99);
                                    clearTimeout(M79);
                                    y89 = false;
                                    h79 = setTimeout(function() {
                                        J79[0].style[w49 + 'Animation'] = '';
                                        J89();
                                    }, v49.sortDelay - 80);
                                }, 80);
                            }
                        }
                        if (m99.type == 'mousedown') {
                            q49(P49).on('mousemove', k89).on('mouseup', f89);
                        }
                    }
                }

                function e89() {
                    l89 = false;
                    D79 = false;
                    s49 = 0;
                    W89 = 0;
                    h89 = new Date();
                    E79 = j49.width();
                    w99 = o79(j49);
                    u49 = w99.index(L49);
                    O49 = L49[0].offsetHeight;
                    r49 = L49[0].offsetTop;
                    J49 = p79[L49.attr('data-type') || 'defaults'];
                    v79 = J49.stages;
                }
                var T79, O79, M79, s49, y89, j89, f99, o49, D49, j49, s79, j79, w99, n49, a79, a99, B79, A99, g49, d79, R79, f79, x79, d99, C99, x99, i99, I49, J79, q89, b79, Y89, t99, y79, K99, c99, q79, Q89, b89, O89, b99, P89, x89, u79, S49, B49, E79, L49, O49, u49, L89, Z99, c89, F89, a89, h49, c79, i79, t89, S79, D79, z89, T99, X89, z79, e49, K79, F79, l89, N99, H89, v49, A79, t79, d89, M89, v79, W89, h89, r79, G79, N79, H79, u89, G89, B89, g79, h79, J49, p79, W79, R89, k49, X79, L79, Z89, X49 = this,
                    G49 = R99,
                    V49 = q49(G49),
                    l79 = 0,
                    C79 = 0,
                    r49 = 0,
                    V79 = {},
                    K89 = {},
                    W49 = {};
                d49.Base.call(this, R99, s89, true);
                X49.animate = function(j09, g09, h09) {
                    E99(j09, 'mbsc-lv-item-' + g09, h09);
                };
                X49.add = function(F5z, c5z, z5z, l5z, a5z, T5z) {
                    var q5z, f5z, H5z, w5z, N5z, b5z, y5z = '',
                        D09 = a5z === F49 ? V49 : Z79(a5z),
                        W09 = D09,
                        S09 = typeof c5z !== 'object' ? q49('<li data-ref="' + C49++ + '" data-id="' + F5z + '">' + c5z + '</li>') : c5z,
                        K5z = S09.attr('data-pos') < 0 ? 'left' : 'right',
                        R5z = S09.attr('data-ref');
                    l5z = l5z || x49;
                    if (!R5z) {
                        R5z = C49++;
                        S09.addClass('mbsc-lv-item').attr('data-ref', R5z);
                    }
                    H99(S09);
                    if (!T5z) {
                        X49.addUndoAction(function(i5z) {
                            if (w5z) {
                                X49.navigate(D09, function() {
                                    W09.remove();
                                    D09.removeClass('mbsc-lv-parent').children('.mbsc-lv-arr').remove();
                                    N5z.child = D09.children('ul,ol');
                                    X49.remove(S09, null, i5z, true);
                                });
                            } else {
                                X49.remove(S09, null, i5z, true);
                            }
                        }, true);
                    }
                    E89(S09, function(P5z) {
                        Y79(S09.css('top', '').removeClass('mbsc-lv-item-undo'));
                        if (D09.is('li')) {
                            b5z = D09.attr('data-ref');
                            if (!D09.children('ul,ol').length) {
                                w5z = true;
                                D09.append('<ul></ul>');
                            }
                        } else {
                            b5z = D09.children('.mbsc-lv-back').attr('data-back');
                        }
                        N5z = W49[b5z];
                        if (N5z) {
                            if (!N5z.child.length) {
                                D09.addClass('mbsc-lv-parent').prepend(x89);
                                W09 = D09.children('ul,ol').prepend(P89).addClass('mbsc-lv');
                                N5z.child = W09;
                                q49('.mbsc-lv-back', D09).attr('data-back', b5z);
                            } else {
                                W09 = N5z.child;
                            }
                        }
                        W49[R5z] = {
                            item: S09,
                            child: S09.children('ul,ol'),
                            parent: W09,
                            ref: b5z
                        };
                        H5z = o79(W09);
                        f5z = H5z.length;
                        if (z5z === F49 || z5z === null) {
                            z5z = f5z;
                        }
                        if (T5z) {
                            y5z = 'mbsc-lv-item-new-' + (T5z ? K5z : '');
                        }
                        q99(S09.addClass(y5z));
                        if (z5z !== false) {
                            if (!f5z) {
                                q5z = q49('.mbsc-lv-back', W09);
                                if (q5z.length) {
                                    S09.insertAfter(q5z);
                                } else {
                                    W09.append(S09);
                                }
                            } else if (z5z < f5z) {
                                S09.insertBefore(H5z.eq(z5z));
                            } else {
                                S09.insertAfter(H5z.eq(f5z - 1));
                            }
                        }
                        if (W09.hasClass('mbsc-lv-v')) {
                            X49.animate(S09.height(S09[0].offsetHeight), T5z && W79 === R5z ? 'none' : 'expand', function(x5z) {
                                X49.animate(x5z.height(''), T5z ? 'add-' + K5z : 'pop-in', function(C5z) {
                                    l5z.call(G49, C5z.removeClass(y5z));
                                    P5z();
                                });
                            });
                        } else {
                            l5z.call(G49, S09.removeClass(y5z));
                            P5z();
                        }
                        o49.trigger('mbsc-enhance', [{
                            theme: v49.theme,
                            lang: v49.lang
                        }]);
                        I49('onItemAdd', {
                            target: S09[0]
                        });
                    });
                };
                X49.swipe = function(d5z, A5z, E5z, t5z, U5z) {
                    d5z = Z79(d5z);
                    L49 = d5z;
                    B79 = t5z;
                    t79 = true;
                    T79 = true;
                    E5z = E5z === F49 ? 300 : E5z;
                    g49 = A5z > 0 ? 1 : -1;
                    e89();
                    I89();
                    U79(d5z, A5z, E5z);
                    clearTimeout(G89);
                    clearInterval(u89);
                    u89 = setInterval(function() {
                        s49 = c49.getPosition(d5z) / E79 * 100;
                        V89();
                    }, 10);
                    G89 = setTimeout(function() {
                        clearInterval(u89);
                        s49 = A5z;
                        V89();
                        l99(U5z);
                        B79 = false;
                        t79 = false;
                        T79 = false;
                    }, E5z);
                };
                X49.openStage = function(M5z, Z5z, Q5z, m5z) {
                    if (V79[Z5z]) {
                        X49.swipe(M5z, V79[Z5z].percent, Q5z, m5z);
                    }
                };
                X49.openActions = function(p5z, X5z, L5z, v5z) {
                    p5z = Z79(p5z);
                    var Y5z = P99(p79[p5z.attr('data-type') || 'defaults'], X5z == 'left' ? -1 : 1);
                    X49.swipe(p5z, X5z == 'left' ? -Y5z : Y5z, L5z, v5z);
                };
                X49.close = function(u5z, o5z) {
                    X49.swipe(u5z, 0, o5z);
                };
                X49.remove = function(J5z, V5z, k5z, I5z) {
                    var s5z, B5z, O5z;
                    k5z = k5z || x49;
                    J5z = Z79(J5z);
                    if (J5z.length) {
                        B5z = J5z.parent();
                        s5z = o79(B5z).index(J5z);
                        O5z = J5z[0].style;
                        if (!I5z) {
                            if (J5z.attr('data-ref') === W79) {
                                R89 = true;
                            }
                            X49.addUndoAction(function(e5z) {
                                X49.add(null, J5z, s5z, e5z, B5z, true);
                            }, true);
                        }
                        E89(J5z, function(r5z) {
                            V5z = V5z || (J5z.attr('data-pos') < 0 ? 'left' : 'right');
                            if (B5z.hasClass('mbsc-lv-v')) {
                                X49.animate(J5z.addClass('mbsc-lv-removed'), I5z ? 'pop-out' : 'remove-' + V5z, function(G5z) {
                                    O5z.height = G5z[0].offsetHeight + 'px';
                                    X49.animate(G5z, 'collapse', function(n5z) {
                                        O5z.height = '';
                                        Y79(n5z.removeClass('mbsc-lv-removed'));
                                        if (k5z.call(G49, n5z) !== false) {
                                            n5z.remove();
                                        }
                                        r5z();
                                    });
                                });
                            } else {
                                if (k5z.call(G49, J5z) !== false) {
                                    J5z.remove();
                                }
                                r5z();
                            }
                            I49('onItemRemove', {
                                target: J5z[0]
                            });
                        });
                    }
                };
                X49.move = function(j5z, h5z, S5z, D5z, W5z, g5z) {
                    j5z = Z79(j5z);
                    if (!g5z) {
                        X49.startActionTrack();
                    }
                    B49.append(S49);
                    X49.remove(j5z, S5z, null, g5z);
                    X49.add(null, j5z, h5z, D5z, W5z, g5z);
                    if (!g5z) {
                        X49.endActionTrack();
                    }
                };
                X49.navigate = function(R1z, T1z) {
                    var z1z, N1z;
                    R1z = Z79(R1z);
                    z1z = W49[R1z.attr('data-ref')];
                    N1z = U99(R1z);
                    if (z1z) {
                        m89(N1z >= C79 ? 'r' : 'l', z1z.parent, R1z, T1z, true);
                        C79 = N1z;
                    }
                };
                X49._processSettings = function() {
                    if (V49.is('[mbsc-enhance]')) {
                        Y89 = true;
                        V49.removeAttr('mbsc-enhance');
                    }
                };
                X49._init = function() {
                    var H1z, q1z, c1z, f1z = 0,
                        y1z = '',
                        b1z = '',
                        l1z = '';
  
					c1z = v49.sort || v49.sortable;;
					
					H1z = 'mbsc-lv-cont mbsc-lv-' + v49.theme + (v49.rtl ? ' mbsc-lv-rtl' : '') + (v49.baseTheme ? ' mbsc-lv-' + v49.baseTheme : '') + (v49.animateIcons ? ' mbsc-lv-ic-anim' : '') + (v49.striped ? ' mbsc-lv-alt-row ' : '') + (v49.fixedHeader ? ' mbsc-lv-has-fixed-header ' : '');
					
                    X49.sortable = c1z || false;
                    if (!o49) {
                        y1z += '<div class="mbsc-lv-multi-c"></div>';
                        y1z += '<div class="mbsc-lv-ic-c"><div class="mbsc-lv-ic-s mbsc-lv-ic mbsc-ic mbsc-ic-none"></div><div class="mbsc-lv-ic-text"></div></div>';
                        V49.addClass('mbsc-lv mbsc-lv-v mbsc-lv-root').show();
                        B49 = q49('<div class="mbsc-lv-stage-c">' + y1z + '</div>');
                        S49 = q49('.mbsc-lv-ic-c', B49);
                        a89 = q49('.mbsc-lv-multi-c', B49);
                        u79 = q49('.mbsc-lv-ic-s', B49);
                        g79 = q49('.mbsc-lv-ic-text', B49);
                        z79 = q49('<li class="mbsc-lv-item mbsc-lv-ph"></li>');
                        J79 = q49('<div class="mbsc-lv-fill-item"></div>');
                        o49 = q49('<div class="' + H1z + '"><ul class="mbsc-lv mbsc-lv-dummy"></ul><div class="mbsc-lv-sl-c"></div></div>');
                        y79 = v49.context !== 'body';
                        k49 = q49(y79 ? v49.context : t49);
                        d99 = q49('.mbsc-lv-dummy', o49);
                        o49.insertAfter(V49);
                        k49.on('orientationchange resize', o89);
                        o89();
                        o49.on('touchstart mousedown', '.mbsc-lv-item', Q99).on('touchmove', '.mbsc-lv-item', k89).on('touchend touchcancel', '.mbsc-lv-item', f89);
                        G49.addEventListener('click', n89, true);
                        o49.on('touchstart mousedown', '.mbsc-lv-ic-m', function(K1z) {
                            if (!B79) {
                                K1z.stopPropagation();
                                K1z.preventDefault();
                            }
                            r79 = K49(K1z, 'X');
                            G79 = K49(K1z, 'Y');
                        }).on('touchend mouseup', '.mbsc-lv-ic-m', function(w1z) {
                            if (!B79) {
                                if (w1z.type === 'touchend') {
                                    c49.preventClick();
                                }
                                if (a49 && !q49(this).hasClass('mbsc-lv-ic-disabled') && Math.abs(K49(w1z, 'X') - r79) < 10 && Math.abs(K49(w1z, 'Y') - G79) < 10) {
                                    p89((s49 < 0 ? J49.rightMenu : J49.leftMenu)[q49(this).index()], j89, f99);
                                }
                            }
                        });
                        d89 = q49('.mbsc-lv-sl-c', o49).append(V49.addClass('mbsc-lv-sl-curr')).attr('data-ref', C49++);
                        j49 = V49;
                        j79 = o49;
                    } else {
                        o49.attr('class', H1z);
                        if (c1z.handle) {
                            q49('.mbsc-lv-handle-c', V49).remove();
                        }
                        q49('li:not(.mbsc-lv-back)', V49).removeClass('mbsc-lv-item');
                    }
					
					P89 = '<li class="mbsc-lv-item mbsc-lv-back">' + v49.backText + '<div class="mbsc-lv-arr mbsc-lv-ic mbsc-ic ' + v49.leftArrowClass + '"></div></li>';
					x89 = '<div class="mbsc-lv-arr mbsc-lv-ic mbsc-ic ' + v49.rightArrowClass + '"></div>';
					if (X49.sortable.handle) {
						t59 =  X49.sortable.handle === true ? p : X49.sortable.handle;
						K99 = '<div class="mbsc-lv-handle-c mbsc-lv-item-h-' + t59 + ' mbsc-lv-handle"><div class="' + v49.handleClass + ' mbsc-lv-handle-bar-c mbsc-lv-handle">' + v49.handleMarkup + '</div></div>';
					}
					
                    q99(V49);
                    M89 = 0;
                    p79 = v49.itemGroups || {};
                    p79.defaults = {
                        swipeleft: v49.swipeleft,
                        swiperight: v49.swiperight,
                        stages: v49.stages,
                        actions: v49.actions,
                        actionsWidth: v49.actionsWidth
                    };
                    q49.each(p79, function(F1z, a1z) {
                        a1z.swipe = a1z.swipe !== F49 ? a1z.swipe : v49.swipe;
                        a1z.stages = a1z.stages || [];
                        i89(a1z.stages, 1, true);
                        i89(a1z.stages.left, 1);
                        i89(a1z.stages.right, -1);
                        if (a1z.stages.left || a1z.stages.right) {
                            a1z.stages = [].concat(a1z.stages.left || [], a1z.stages.right || []);
                        }
                        q89 = false;
                        if (!a1z.stages.length) {
                            if (a1z.swipeleft) {
                                a1z.stages.push({
                                    percent: -30,
                                    action: a1z.swipeleft
                                });
                            }
                            if (a1z.swiperight) {
                                a1z.stages.push({
                                    percent: 30,
                                    action: a1z.swiperight
                                });
                            }
                        }
                        q49.each(a1z.stages, function(P1z, i1z) {
                            if (i1z.percent === 0) {
                                q89 = true;
                                return false;
                            }
                        });
                        if (!q89) {
                            a1z.stages.push({
                                percent: 0
                            });
                        }
                        a1z.stages.sort(function(x1z, C1z) {
                            return x1z.percent - C1z.percent;
                        });
                        q49.each(a1z.stages, function(d1z, E1z) {
                            if (E1z.percent === 0) {
                                a1z.start = d1z;
                                return false;
                            }
                        });
                        if (q89) {
                            a1z.left = a1z.right = a1z.stages[a1z.start];
                        } else {
                            a1z.left = a1z.stages[a1z.start - 1] || {};
                            a1z.right = a1z.stages[a1z.start + 1] || {};
                        }
                        if (a1z.actions) {
                            a1z.leftMenu = a1z.actions.left || a1z.actions;
                            a1z.rightMenu = a1z.actions.right || a1z.leftMenu;
                            b1z = '';
                            l1z = '';
                            for (f1z = 0; f1z < a1z.leftMenu.length; f1z++) {
                                b1z += '<div ' + (a1z.leftMenu[f1z].color ? 'style="background-color: ' + a1z.leftMenu[f1z].color + '"' : '') + ' class="mbsc-lv-ic-m mbsc-lv-ic mbsc-ic mbsc-ic-' + a1z.leftMenu[f1z].icon + '">' + (a1z.leftMenu[f1z].text || '') + '</div>';
                            }
                            for (f1z = 0; f1z < a1z.rightMenu.length; ++f1z) {
                                l1z += '<div ' + (a1z.rightMenu[f1z].color ? 'style="background-color: ' + a1z.rightMenu[f1z].color + '"' : '') + ' class="mbsc-lv-ic-m mbsc-lv-ic mbsc-ic mbsc-ic-' + a1z.rightMenu[f1z].icon + '">' + (a1z.rightMenu[f1z].text || '') + '</div>';
                            }
                            if (a1z.actions.left) {
                                a1z.swipe = a1z.actions.right ? a1z.swipe : 'right';
                            }
                            if (a1z.actions.right) {
                                a1z.swipe = a1z.actions.left ? a1z.swipe : 'left';
                            }
                            a1z.icons = '<div class="mbsc-lv-multi mbsc-lv-multi-ic-left">' + b1z + '</div><div class="mbsc-lv-multi mbsc-lv-multi-ic-right">' + l1z + '</div>';
                        }
                    });
                    if (v49.fixedHeader) {
                        q1z = 'mbsc-lv-fixed-header' + (y79 ? ' mbsc-lv-fixed-header-ctx mbsc-lv-' + v49.theme + (v49.baseTheme ? ' mbsc-lv-' + v49.baseTheme : '') : '');
                        if (!b79) {
                            b79 = q49('<div class="' + q1z + '"></div>');
                            if (y79) {
                                k49.before(b79);
                            } else {
                                o49.prepend(b79);
                            }
                            S79 = c49.throttle(M99, 200);
                            k49.on('scroll touchmove', S79);
                        } else {
                            b79.attr('class', q1z);
                        }
                    }
                    if (v49.hover) {
                        if (!b89) {
                            o49.on('mouseover.mbsc-lv', '.mbsc-lv-item', function() {
                                if (!q79 || q79[0] != this) {
                                    r89();
                                    q79 = q49(this);
                                    if (p79[q79.attr('data-type') || 'defaults'].actions) {
                                        b99 = setTimeout(function() {
                                            if (!z89) {
                                                Q89 = true;
                                                X49.openActions(q79, c99, b89, false);
                                            } else {
                                                q79 = null;
                                            }
                                        }, O89);
                                    }
                                }
                            }).on('mouseleave.mbsc-lv', r89);
                        }
                        b89 = v49.hover.time || 200;
                        O89 = v49.hover.timeout || 200;
                        c99 = v49.hover.direction || v49.hover || 'right';
                    }
                    if (Y89) {
                        o49.attr('mbsc-enhance', '');
                    }
                    o49.trigger('mbsc-enhance', [{
                        theme: v49.theme,
                        lang: v49.lang
                    }]);
                };
                X49._destroy = function() {
                    j79.append(j49);
                    if (y79 && b79) {
                        b79.remove();
                    }
                    if (Y89) {
                        V49.attr('mbsc-enhance', '');
                    }
                    G49.removeEventListener('click', n89, true);
                    o49.find('.mbsc-lv-txt,.mbsc-lv-img').removeClass('mbsc-lv-txt mbsc-lv-img');
                    o49.find('ul,ol').removeClass('mbsc-lv mbsc-lv-v mbsc-lv-root mbsc-lv-sl-curr').find('li').removeClass('mbsc-lv-gr-title mbsc-lv-item mbsc-lv-item-enhanced mbsc-lv-parent mbsc-lv-img-left mbsc-lv-img-right mbsc-lv-item-ic-left mbsc-lv-item-ic-right').removeAttr('data-ref');
                    q49('.mbsc-lv-back,.mbsc-lv-handle-c,.mbsc-lv-arr,.mbsc-lv-item-ic', o49).remove();
                    V49.insertAfter(o49);
                    o49.remove();
                    B49.remove();
                    k49.off('orientationchange resize', o89);
                    if (S79) {
                        k49.off('scroll touchmove', S79);
                    }
                };
                var T89, A89 = [],
                    P79 = [],
                    w89 = [],
                    Q79 = 0;
                X49.startActionTrack = function() {
                    if (!Q79) {
                        w89 = [];
                    }
                    Q79++;
                };
                X49.endActionTrack = function() {
                    Q79--;
                    if (!Q79) {
                        P79.push(w89);
                    }
                };
                X49.addUndoAction = function(t1z, U1z) {
                    var A1z = {
                        action: t1z,
                        async: U1z
                    };
                    if (Q79) {
                        w89.push(A1z);
                    } else {
                        P79.push([A1z]);
                        if (P79.length > v49.undoLimit) {
                            P79.shift();
                        }
                    }
                };
                X49.undo = function() {
                    function p1z() {
                        Q1z = A89.shift();
                        if (Q1z) {
                            T89 = true;
                            M1z = Q1z.length - 1;
                            m1z();
                        }
                    }

                    function m1z() {
                        if (M1z < 0) {
                            T89 = false;
                            p1z();
                        } else {
                            Z1z = Q1z[M1z];
                            M1z--;
                            if (Z1z.async) {
                                Z1z.action(m1z);
                            } else {
                                Z1z.action();
                                m1z();
                            }
                        }
                    }
                    var Z1z, M1z, Q1z;
                    if (P79.length) {
                        A89.push(P79.pop());
                    }
                    if (!T89) {
                        p1z();
                    }
                };
                v49 = X49.settings;
                I49 = X49.trigger;
                X49.init(s89);
            };
            d49.ListView.prototype = {
                _class: 'listview',
                _hasDef: true,
                _hasTheme: true,
                _hasLang: true,
                _defaults: {
                    context: 'body',
                    actionsWidth: 90,
                    sortDelay: 250,
                    undoLimit: 10,
                    swipe: true,
                    quickSwipe: true,
                    animateIcons: true,
                    animation: true,
                    revert: true,
                    vibrate: true,
                    handleClass: '',
                    handleMarkup: '<div class="mbsc-lv-handle-bar mbsc-lv-handle"></div><div class="mbsc-lv-handle-bar mbsc-lv-handle"></div><div class="mbsc-lv-handle-bar mbsc-lv-handle"></div>',
                    leftArrowClass: 'mbsc-ic-arrow-left4',
                    rightArrowClass: 'mbsc-ic-arrow-right4',
                    backText: 'Back',
                    undoText: 'Undo',
                    stages: []
                }
            };
            i49.themes.listview.mobiscroll = {
                leftArrowClass: 'mbsc-ic-arrow-left5',
                rightArrowClass: 'mbsc-ic-arrow-right5'
            };
            i49.presetShort('listview', 'ListView');
        }(window, document));
         (function(k8A) {
             var w8A = L9s,
                 Q8A = w8A.$,
                 H8A = {
                     batch: 50,
                     min: 0,
                     max: 100,
                     defaultUnit: '',
                     units: null,
                     unitNames: null,
                     invalid: [],
                     sign: false,
                     step: 0.05,
                     scale: 2,
                     convert: function(l8A) {
                         return l8A;
                     },
                     signText: '&nbsp;',
                     wholeText: 'Whole',
                     fractionText: 'Fraction',
                     unitText: 'Unit'
                 };
             w8A.presets.scroller.measurement = function(m8A) {
                 function d7A(i7A) {
                     return h7A(i7A).toFixed(L8A ? s7A : 0) + (V8A ? ' ' + q8A[i7A[W8A]] : '');
                 }

                 function G7A(x7A) {
                     var Z7A, I7A;
                     P8A = R8A(u8A.min, i8A, x7A);
                     X8A = R8A(u8A.max, i8A, x7A);
                     if (L8A) {
                         t8A = P8A < 0 ? Math.ceil(P8A) : Math.floor(P8A);
                         I8A = X8A < 0 ? Math.ceil(X8A) : Math.floor(X8A);
                         y7A = B7A(P8A);
                         Y7A = B7A(X8A);
                     } else {
                         t8A = Math.round(P8A);
                         I8A = Math.round(X8A);
                         I8A = t8A + Math.floor((I8A - t8A) / F8A) * F8A;
                         b7A = t8A % F8A;
                     }
                     Z7A = t8A;
                     I7A = I8A;
                     if (c8A) {
                         I7A = Math.abs(Z7A) > Math.abs(I7A) ? Math.abs(Z7A) : Math.abs(I7A);
                         Z7A = Z7A < 0 ? 0 : Z7A;
                     }
                     v8A.min = Z7A < 0 ? Math.ceil(Z7A / T8A) : Math.floor(Z7A / T8A);
                     v8A.max = I7A < 0 ? Math.ceil(I7A / T8A) : Math.floor(I7A / T8A);
                 }

                 function z7A(X7A, P7A, F7A) {
                     X7A = X7A > F7A ? F7A : X7A;
                     X7A = X7A < P7A ? P7A : X7A;
                     return X7A;
                 }

                 function R8A(t7A, n7A, V7A) {
                     if (n7A === V7A || !u8A.convert) {
                         return t7A;
                     }
                     return u8A.convert.call(this, t7A, n7A, V7A);
                 }

                 function N7A(M7A, T7A) {
                     M7A = M7A + '';
                     while (M7A.length < T7A) {
                         M7A = '0' + M7A;
                     }
                     return M7A;
                 }

                 function f7A(r7A, L7A) {
                     return Math.round(r7A / L7A) * L7A;
                 }

                 function h7A(u7A) {
                     var A7A = +u7A[M8A],
                         c7A = L8A ? u7A[x8A] / C8A * (A7A < 0 ? -1 : 1) : 0;
                     return (c8A && u7A[0] == '-' ? -1 : 1) * (A7A + c7A);
                 }

                 function D7A(k7A) {
                     var w7A = E7A(k7A),
                         H7A = B7A(k7A),
                         l7A = k7A < 0 ? '-' : '+';
                     if (H7A >= C8A) {
                         if (k7A < 0) {
                             w7A--;
                         } else {
                             w7A++;
                         }
                         H7A = 0;
                     }
                     return [l7A, w7A, H7A];
                 }

                 function B7A(Q7A) {
                     return L8A ? f7A((Math.abs(Q7A) - Math.abs(E7A(Q7A))) * C8A - J7A, F8A) + J7A : 0;
                 }

                 function E7A(j7A) {
                     return Math.max(t8A, Math.min(I8A, L8A ? j7A < 0 ? Math.ceil(j7A) : Math.floor(j7A) : f7A(Math.round(j7A - b7A), F8A) + b7A));
                 }
                 var e7A = Q8A.extend({}, m8A.settings),
                     u8A = Q8A.extend(m8A.settings, H8A, e7A),
                     g8A = {},
                     U8A = [
                         []
                     ],
                     Z8A = {},
                     v8A = {},
                     S8A = {},
                     p7A = [],
                     c8A = u8A.sign,
                     V8A = u8A.units && u8A.units.length,
                     i8A = V8A ? u8A.defaultUnit || u8A.units[0] : '',
                     q8A = [],
                     L8A = u8A.step < 1,
                     T8A = u8A.step > 1 ? u8A.step : 1,
                     s7A = L8A ? Math.max(u8A.scale, (u8A.step + '').split('.')[1].length) : 1,
                     C8A = Math.pow(10, s7A),
                     F8A = Math.round(L8A ? u8A.step * C8A : u8A.step),
                     o7A, r8A, O8A, K7A = -1,
                     x8A, M8A, W8A, P8A, X8A, t8A, I8A, y7A, Y7A, b7A = 0,
                     J7A = 0,
                     a7A, A8A, n8A = 0;
                 m8A.setVal = function(m7A, O7A, v7A, R7A, C7A) {
                     m8A._setVal(Q8A.isArray(m7A) ? d7A(m7A) : m7A, O7A, v7A, R7A, C7A);
                 };
                 if (u8A.units) {
                     for (A8A = 0; A8A < u8A.units.length; ++A8A) {
                         a7A = u8A.units[A8A];
                         q8A.push(u8A.unitNames ? u8A.unitNames[a7A] || a7A : a7A);
                     }
                 }
                 if (c8A) {
                     c8A = false;
                     if (V8A) {
                         for (A8A = 0; A8A < u8A.units.length; A8A++) {
                             if (R8A(u8A.min, i8A, u8A.units[A8A]) < 0) {
                                 c8A = true;
                             }
                         }
                     } else {
                         c8A = u8A.min < 0;
                     }
                 }
                 if (c8A) {
                     U8A[0].push({
                         data: ['-', '+'],
                         label: u8A.signText
                     });
                     K7A = n8A++;
                 }
                 v8A = {
                     label: u8A.wholeText,
                     data: function(U7A) {
                         return t8A % T8A + U7A * T8A;
                     },
                     getIndex: function(W7A) {
                         return Math.round((W7A - t8A % T8A) / T8A);
                     }
                 };
                 U8A[0].push(v8A);
                 M8A = n8A++;
                 G7A(i8A);
                 if (L8A) {
                     U8A[0].push(S8A);
                     S8A.data = [];
                     S8A.label = u8A.fractionText;
                     for (A8A = J7A; A8A < C8A; A8A += F8A) {
                         p7A.push(A8A);
                         S8A.data.push({
                             value: A8A,
                             display: '.' + N7A(A8A, s7A)
                         });
                     }
                     x8A = n8A++;
                     o7A = Math.ceil(100 / F8A);
                     if (u8A.invalid && u8A.invalid.length) {
                         Q8A.each(u8A.invalid, function(g7A, S7A) {
                             var q7A = S7A > 0 ? Math.floor(S7A) : Math.ceil(S7A);
                             if (q7A === 0) {
                                 q7A = S7A <= 0 ? -0.001 : 0.001;
                             }
                             Z8A[q7A] = (Z8A[q7A] || 0) + 1;
                             if (S7A === 0) {
                                 q7A = 0.001;
                                 Z8A[q7A] = (Z8A[q7A] || 0) + 1;
                             }
                         });
                         Q8A.each(Z8A, function(D3A, b3A) {
                             if (b3A < o7A) {
                                 delete Z8A[D3A];
                             } else {
                                 Z8A[D3A] = D3A;
                             }
                         });
                     }
                 }
                 if (V8A) {
                     g8A = {
                         data: [],
                         label: u8A.unitText,
                         cssClass: 'mbsc-msr-whl-unit',
                         circular: false
                     };
                     for (A8A = 0; A8A < u8A.units.length; A8A++) {
                         g8A.data.push({
                             value: A8A,
                             display: q8A[A8A]
                         });
                     }
                     U8A[0].push(g8A);
                 }
                 W8A = n8A;
                 return {
                     wheels: U8A,
                     minWidth: c8A && L8A ? 70 : 80,
                     showLabel: false,
                     formatValue: d7A,
                     compClass: 'mbsc-msr',
                     parseValue: function(B3A) {
                         var f3A = (typeof B3A === 'number' ? B3A + '' : B3A) || u8A.defaultValue,
                             Y3A = (f3A + '').split(' '),
                             a3A = +Y3A[0],
                             p3A = [],
                             s3A, J3A = '';
                         if (V8A) {
                             J3A = Q8A.inArray(Y3A[1], q8A);
                             J3A = J3A == -1 ? Q8A.inArray(i8A, u8A.units) : J3A;
                             J3A = J3A == -1 ? 0 : J3A;
                         }
                         O8A = V8A ? u8A.units[J3A] : '';
                         G7A(O8A);
                         a3A = isNaN(a3A) ? 0 : a3A;
                         a3A = z7A(a3A, P8A, X8A);
                         s3A = D7A(a3A);
                         s3A[1] = z7A(s3A[1], t8A, I8A);
                         r8A = a3A;
                         if (c8A) {
                             p3A[0] = s3A[0];
                             s3A[1] = Math.abs(s3A[1]);
                         }
                         p3A[M8A] = s3A[1];
                         if (L8A) {
                             p3A[x8A] = s3A[2];
                         }
                         if (V8A) {
                             p3A[W8A] = J3A;
                         }
                         return p3A;
                     },
                     onCancel: function() {
                         r8A = k8A;
                     },
                     validate: function(N3A) {
                         var o3A, y3A, Q3A, d3A, e3A, G3A = N3A.values,
                             h3A = N3A.index,
                             w3A = N3A.direction,
                             E3A = {},
                             z3A = [],
                             j3A = {},
                             K3A = V8A ? u8A.units[G3A[W8A]] : '';
                         if (c8A && h3A === 0) {
                             r8A = Math.abs(r8A) * (G3A[0] == '-' ? -1 : 1);
                         }
                         if (h3A === M8A || h3A === x8A && L8A || r8A === k8A || h3A === k8A) {
                             r8A = h7A(G3A);
                             O8A = K3A;
                         }
                         if (V8A && (h3A === W8A && O8A !== K3A) || h3A === k8A) {
                             G7A(K3A);
                             r8A = R8A(r8A, O8A, K3A);
                             O8A = K3A;
                             y3A = D7A(r8A);
                             if (h3A !== k8A) {
                                 j3A[M8A] = v8A;
                                 m8A.changeWheel(j3A);
                             }
                             if (c8A) {
                                 G3A[0] = y3A[0];
                             }
                         }
                         z3A[M8A] = [];
                         if (c8A) {
                             z3A[0] = [];
                             if (P8A > 0) {
                                 z3A[0].push('-');
                                 G3A[0] = '+';
                             }
                             if (X8A < 0) {
                                 z3A[0].push('+');
                                 G3A[0] = '-';
                             }
                             e3A = Math.abs(G3A[0] == '-' ? t8A : I8A);
                             for (n8A = e3A + T8A; n8A < e3A + 20 * T8A; n8A += T8A) {
                                 z3A[M8A].push(n8A);
                                 E3A[n8A] = true;
                             }
                         }
                         r8A = z7A(r8A, P8A, X8A);
                         y3A = D7A(r8A);
                         Q3A = c8A ? Math.abs(y3A[1]) : y3A[1];
                         o3A = c8A ? G3A[0] == '-' : r8A < 0;
                         G3A[M8A] = Q3A;
                         if (o3A) {
                             y3A[0] = '-';
                         }
                         if (L8A) {
                             G3A[x8A] = y3A[2];
                         }
                         Q8A.each(L8A ? Z8A : u8A.invalid, function(A3A, u3A) {
                             if (c8A && o3A) {
                                 if (u3A <= 0) {
                                     u3A = Math.abs(u3A);
                                 } else {
                                     return;
                                 }
                             }
                             u3A = f7A(R8A(u3A, i8A, K3A), L8A ? 1 : F8A);
                             E3A[u3A] = true;
                             z3A[M8A].push(u3A);
                         });
                         G3A[M8A] = m8A.getValidValue(M8A, Q3A, w3A, E3A);
                         y3A[1] = G3A[M8A] * (c8A && o3A ? -1 : 1);
                         if (L8A) {
                             z3A[x8A] = [];
                             var k3A = c8A ? G3A[0] + G3A[1] : (r8A < 0 ? '-' : '+') + Math.abs(y3A[1]),
                                 l3A = (P8A < 0 ? '-' : '+') + Math.abs(t8A),
                                 H3A = (X8A < 0 ? '-' : '+') + Math.abs(I8A);
                             if (k3A === l3A) {
                                 Q8A(p7A).each(function(L3A, c3A) {
                                     if (o3A ? c3A > y7A : c3A < y7A) {
                                         z3A[x8A].push(c3A);
                                     }
                                 });
                             }
                             if (k3A === H3A) {
                                 Q8A(p7A).each(function(M3A, r3A) {
                                     if (o3A ? r3A < Y7A : r3A > Y7A) {
                                         z3A[x8A].push(r3A);
                                     }
                                 });
                             }
                             Q8A.each(u8A.invalid, function(t3A, T3A) {
                                 d3A = D7A(R8A(T3A, i8A, K3A));
                                 if ((y3A[0] === d3A[0] || y3A[1] === 0 && d3A[1] === 0 && d3A[2] === 0) && y3A[1] === d3A[1]) {
                                     z3A[x8A].push(d3A[2]);
                                 }
                             });
                         }
                         return {
                             disabled: z3A,
                             valid: G3A
                         };
                     }
                 };
             };
             w8A.presetShort('measurement');
         }());
         (function() {
             var n3A = L9s,
                 V3A = n3A.$,
                 X3A = n3A.presets.scroller,
                 F3A = {
                     min: 0,
                     max: 100,
                     defaultUnit: 'km',
                     units: ['m', 'km', 'in', 'ft', 'yd', 'mi']
                 },
                 P3A = {
                     mm: 0.001,
                     cm: 0.01,
                     dm: 0.1,
                     m: 1,
                     dam: 10,
                     hm: 100,
                     km: 1000,
                     'in': 0.0254,
                     ft: 0.3048,
                     yd: 0.9144,
                     ch: 20.1168,
                     fur: 201.168,
                     mi: 1609.344,
                     lea: 4828.032
                 };
             n3A.presetShort('distance');
             X3A.distance = function(Z3A) {
                 var I3A = V3A.extend({}, F3A, Z3A.settings);
                 V3A.extend(Z3A.settings, I3A, {
                     sign: false,
                     convert: function(x3A, i3A, m3A) {
                         return x3A * P3A[i3A] / P3A[m3A];
                     }
                 });
                 return X3A.measurement.call(this, Z3A);
             };
         }());
         (function() {
             var O3A = L9s,
                 v3A = O3A.$,
                 R3A = O3A.presets.scroller,
                 U3A = {
                     min: 0,
                     max: 100,
                     defaultUnit: 'N',
                     units: ['N', 'kp', 'lbf', 'pdl']
                 },
                 C3A = {
                     N: 1,
                     kp: 9.80665,
                     lbf: 4.448222,
                     pdl: 0.138255
                 };
             O3A.presetShort('force');
             R3A.force = function(W3A) {
                 var q3A = v3A.extend({}, U3A, W3A.settings);
                 v3A.extend(W3A.settings, q3A, {
                     sign: false,
                     convert: function(S3A, g3A, D9A) {
                         return S3A * C3A[g3A] / C3A[D9A];
                     }
                 });
                 return R3A.measurement.call(this, W3A);
             };
         }());
         (function() {
             var b9A = L9s,
                 J9A = b9A.$,
                 a9A = b9A.presets.scroller,
                 p9A = {
                     min: 0,
                     max: 1000,
                     defaultUnit: 'kg',
                     units: ['g', 'kg', 'oz', 'lb'],
                     unitNames: {
                         tlong: 't (long)',
                         tshort: 't (short)'
                     }
                 },
                 s9A = {
                     mg: 0.001,
                     cg: 0.01,
                     dg: 0.1,
                     g: 1,
                     dag: 10,
                     hg: 100,
                     kg: 1000,
                     t: 1000000,
                     drc: 1.7718452,
                     oz: 28.3495,
                     lb: 453.59237,
                     st: 6350.29318,
                     qtr: 12700.58636,
                     cwt: 50802.34544,
                     tlong: 1016046.9088,
                     tshort: 907184.74
                 };
             b9A.presetShort('mass');
             a9A.mass = function(B9A) {
                 var Y9A = J9A.extend({}, p9A, B9A.settings);
                 J9A.extend(B9A.settings, Y9A, {
                     sign: false,
                     convert: function(f9A, G9A, y9A) {
                         return f9A * s9A[G9A] / s9A[y9A];
                     }
                 });
                 return a9A.measurement.call(this, B9A);
             };
         }());
         (function() {
             var z9A = L9s,
                 K9A = z9A.$,
                 h9A = z9A.presets.scroller,
                 d9A = {
                     min: 0,
                     max: 100,
                     defaultUnit: 'kph',
                     units: ['kph', 'mph', 'mps', 'fps', 'knot'],
                     unitNames: {
                         kph: 'km/h',
                         mph: 'mi/h',
                         mps: 'm/s',
                         fps: 'ft/s',
                         knot: 'knot'
                     }
                 },
                 o9A = {
                     kph: 1,
                     mph: 1.60934,
                     mps: 3.6,
                     fps: 1.09728,
                     knot: 1.852
                 };
             z9A.presetShort('speed');
             h9A.speed = function(E9A) {
                 var e9A = K9A.extend({}, d9A, E9A.settings);
                 K9A.extend(E9A.settings, e9A, {
                     sign: false,
                     convert: function(N9A, j9A, Q9A) {
                         return N9A * o9A[j9A] / o9A[Q9A];
                     }
                 });
                 return h9A.measurement.call(this, E9A);
             };
         }());
         (function() {
             var k9A = L9s,
                 w9A = k9A.$,
                 H9A = k9A.presets.scroller,
                 l9A = {
                     min: -20,
                     max: 40,
                     defaultUnit: 'c',
                     units: ['c', 'k', 'f', 'r'],
                     unitNames: {
                         c: '°C',
                         k: 'K',
                         f: '°F',
                         r: '°R'
                     }
                 },
                 u9A = {
                     c2k: function(A9A) {
                         return A9A + 273.15;
                     },
                     c2f: function(c9A) {
                         return c9A * 9 / 5 + 32;
                     },
                     c2r: function(L9A) {
                         return (L9A + 273.15) * 9 / 5;
                     },
                     k2c: function(r9A) {
                         return r9A - 273.15;
                     },
                     k2f: function(M9A) {
                         return M9A * 9 / 5 - 459.67;
                     },
                     k2r: function(T9A) {
                         return T9A * 9 / 5;
                     },
                     f2c: function(t9A) {
                         return (t9A - 32) * 5 / 9;
                     },
                     f2k: function(n9A) {
                         return (n9A + 459.67) * 5 / 9;
                     },
                     f2r: function(V9A) {
                         return V9A + 459.67;
                     },
                     r2c: function(X9A) {
                         return (X9A - 491.67) * 5 / 9;
                     },
                     r2k: function(P9A) {
                         return P9A * 5 / 9;
                     },
                     r2f: function(F9A) {
                         return F9A - 459.67;
                     }
                 };
             k9A.presetShort('temperature');
             H9A.temperature = function(Z9A) {
                 var I9A = w9A.extend({}, l9A, Z9A.settings);
                 w9A.extend(Z9A.settings, I9A, {
                     sign: true,
                     convert: function(x9A, i9A, m9A) {
                         return u9A[i9A + '2' + m9A](x9A);
                     }
                 });
                 return H9A.measurement.call(this, Z9A);
             };
         }());
         (function(y7z, l7z, b7z) {
            var z7z = L9s,
                R7z = z7z.$,
                T7z = R7z.extend,
                N7z = z7z.classes,
                f7z = 1;
            N7z.MenuStrip = function(Q7z, s7z) {
                function o7z(c8z, K8z) {
                    var H8z = q7z.itemWidth,
                        q8z = q7z.layout;
                    H7z.contWidth = c7z = K7z.width();
                    if (c8z && V7z === c7z || !c7z) {
                        return;
                    }
                    V7z = c7z;
                    if (z7z.util.isNumeric(q8z)) {
                        i7z = c7z ? c7z / q8z : H8z;
                        if (i7z < H8z) {
                            q8z = 'liquid';
                        }
                    }
                    if (H8z) {
                        if (q8z == 'liquid') {
                            i7z = c7z ? c7z / Math.min(Math.floor(c7z / H8z), w7z.children().length) : H8z;
                        } else if (q8z == 'fixed') {
                            i7z = H8z;
                        }
                    }
                    if (i7z) {
                        w7z.children().css('width', i7z + 'px');
                    }
                    if (q7z.display != 'inline') {
                        A7z.find('.mbsc-page').css('padding-' + q7z.display, Q7z.offsetHeight + 'px');
                    }
                    H7z.totalWidth = C7z = Q7z.offsetWidth;
                    T7z(P7z.settings, {
                        contSize: c7z,
                        maxSnapScroll: q7z.paging ? 1 : false,
                        maxScroll: 0,
                        minScroll: C7z > c7z ? c7z - C7z : 0,
                        snap: q7z.paging ? c7z : q7z.snap ? i7z || '.mbsc-ms-item' : false,
                        elastic: C7z > c7z ? i7z || c7z : false
                    });
                    P7z.refresh(K8z);
                }

                function e7z() {
                    w7z.find('.mbsc-ripple').remove();
                    w7z.children().each(function(l8z) {
                        var y8z, z8z = R7z(this),
                            T8z = M7z && z8z.attr('data-selected') == 'true',
                            b8z = z8z.attr('data-disabled') == 'true',
                            f8z = z8z.attr('data-icon'),
                            N8z = z8z.attr('data-ref');
                        if (!N8z) {
                            N8z = f7z++;
                        }
                        if (l8z === 0) {
                            X7z = z8z;
                        }
                        if (M7z && !x7z && T8z) {
                            a7z = z8z;
                        }
                        if (f8z) {
                            I7z = true;
                        }
                        if (z8z.text()) {
                            O7z = true;
                        }
                        y8z = 'mbsc-ms-item mbsc-btn-e ' + (q7z.itemClass || '') + (T8z ? t7z : '') + (b8z ? ' mbsc-btn-d ' + (q7z.disabledClass || '') : '') + (f8z ? ' mbsc-ms-ic mbsc-ic mbsc-ic-' + f8z : '');
                        z8z.attr('data-ref', N8z).attr('data-role', 'button').attr('aria-selected', T8z ? 'true' : 'false').attr('aria-disabled', b8z ? 'true' : 'false').removeClass(m7z[N8z]).addClass(y8z);
                        m7z[N8z] = y8z;
                    });
                    if (I7z) {
                        K7z.addClass('mbsc-ms-icons');
                    }
                    if (O7z) {
                        K7z.addClass('mbsc-ms-txt');
                    }
                }

                function E7z(R8z) {
                    if (typeof R8z !== 'object') {
                        R8z = w7z.children('[data-id="' + R8z + '"]');
                    }
                    return R7z(R8z);
                }

                function Z7z(W7z) {
                    W7z.removeClass(t7z).removeAttr('data-selected').removeAttr('aria-selected');
                }

                function L7z(D7z) {
                    D7z.addClass(t7z).attr('data-selected', 'true').attr('aria-selected', 'true');
                }

                function U7z(G7z, g7z) {
                    if (!G7z.length) {
                        return;
                    }
                    var h7z = G7z.offset().left,
                        n7z = G7z[0].offsetLeft,
                        j7z = G7z[0].offsetWidth,
                        S7z = K7z.offset().left;
                    a7z = G7z;
                    if (g7z === b7z) {
                        g7z = !x7z;
                    }
                    if (M7z && g7z) {
                        if (x7z) {
                            if (G7z.attr('data-selected')) {
                                Z7z(G7z);
                            } else {
                                L7z(G7z);
                            }
                        } else {
                            Z7z(R7z('.mbsc-ms-item-sel', w7z));
                            L7z(G7z);
                        }
                    }
                    if (d7z) {
                        n7z = C7z - n7z - j7z;
                    }
                    if (k7z == 'a') {
                        if (h7z < S7z) {
                            P7z.scroll(d7z ? n7z + j7z - c7z : -n7z, p7z, true);
                        } else if (h7z + j7z > S7z + c7z) {
                            P7z.scroll(d7z ? n7z : c7z - n7z - j7z, p7z, true);
                        }
                    } else {
                        P7z.scroll(c7z / 2 - n7z - j7z / 2, p7z, true);
                    }
                    if (g7z) {
                        F7z('onItemTap', {
                            target: G7z[0]
                        });
                    }
                }

                function Y7z(r7z) {
                    clearTimeout(B7z);
                    B7z = setTimeout(function() {
                        o7z(r7z.type !== 'load');
                    }, 200);
                }
                var a7z, K7z, A7z, X7z, v7z, u7z, c7z, I7z, O7z, i7z, x7z, V7z, B7z, d7z, M7z, t7z, P7z, k7z, q7z, C7z, J7z, F7z, m7z = {},
                    p7z = 1000,
                    H7z = this,
                    w7z = R7z(Q7z);
                N7z.Base.call(this, Q7z, s7z, true);
                H7z.navigate = function(w8z, a8z) {
                    U7z(E7z(w8z), a8z);
                };
                H7z.next = function(i8z) {
                    var F8z = a7z ? a7z.next() : X7z;
                    if (F8z.length) {
                        a7z = F8z;
                        U7z(a7z, i8z);
                    }
                };
                H7z.prev = function(x8z) {
                    var P8z = a7z ? a7z.prev() : X7z;
                    if (P8z.length) {
                        a7z = P8z;
                        U7z(a7z, x8z);
                    }
                };
                H7z.select = function(C8z) {
                    if (!x7z) {
                        Z7z(R7z('.mbsc-ms-item-sel', w7z));
                    }
                    L7z(E7z(C8z));
                };
                H7z.deselect = function(d8z) {
                    Z7z(E7z(d8z));
                };
                H7z.enable = function(E8z) {
                    E7z(E8z).removeClass('mbsc-btn-d').removeAttr('data-disabled').removeAttr('aria-disabled');
                };
                H7z.disable = function(A8z) {
                    E7z(A8z).addClass('mbsc-btn-d').attr('data-disabled', 'true').attr('aria-disabled', 'true');
                };
                H7z.refresh = H7z.position = function(t8z) {
                    e7z();
                    o7z(false, t8z);
                };
                H7z._init = function() {
                    A7z = R7z(q7z.context);
                    v7z = R7z(q7z.context == 'body' ? y7z : q7z.context);
					
					if (q7z.type == 'tabs') {
						q7z.select = q7z.select || 'single';
						q7z.variant = q7z.variant || 'b';
					} else if (g.type == 'options') {
						q7z.select = q7z.select || 'multiple';
						q7z.variant = q7z.variant || 'a';
					} else if (g.type == 'menu') {
						q7z.select = q7z.select || 'off';
						q7z.variant = q7z.variant || 'a';
					}
					if (q7z.itemWidth && q7z.snap === b7z) {
						q7z.snap = true;
					}
                    k7z = q7z.variant;
                    M7z = q7z.select != 'off';
                    x7z = q7z.select == 'multiple';
                    t7z = ' mbsc-ms-item-sel ' + (q7z.activeClass || '');
                    d7z = q7z.rtl;
				    u7z = 'mbsc-ms-c' + ' mbsc-ms-' + k7z + ' mbsc-ms-' + q7z.display + ' mbsc-' + q7z.theme + ' ' + (q7z.baseTheme ? ' mbsc-' + q7z.baseTheme : '') + ' ' + (q7z.cssClass || '') + ' ' + (q7z.wrapperClass || '') + (d7z ? ' mbsc-ms-rtl' : ' mbsc-ms-ltr') + (q7z.itemWidth ? ' mbsc-ms-hasw' : '') + (q7z.context == 'body' ? '' : ' mbsc-ms-ctx') + (M7z ? '' : ' mbsc-ms-nosel');                 
                    if (!K7z) {
                        K7z = R7z('<div class="' + u7z + '"><div class="mbsc-ms-sc"></div></div>').insertAfter(w7z);
                        K7z.find('.mbsc-ms-sc').append(w7z);
                        P7z = new z7z.classes.ScrollView(K7z[0], {
                            axis: 'X',
                            contSize: 0,
                            maxScroll: 0,
                            maxSnapScroll: 1,
                            minScroll: 0,
                            snap: 1,
                            elastic: 1,
                            rtl: d7z,
                            mousewheel: q7z.mousewheel,
                            onStart: function(U8z) {
                                if (!J7z && U8z.domEvent.type == 'touchstart') {
                                    J7z = true;
                                    A7z.find('.mbsc-no-touch').removeClass('mbsc-no-touch');
                                }
                            },
                            onBtnTap: function(Z8z) {
                                U7z(R7z(Z8z.target), true);
                            },
                            onGestureStart: function(M8z) {
                                F7z('onGestureStart', M8z);
                            },
                            onGestureEnd: function(Q8z) {
                                F7z('onGestureEnd', Q8z);
                            },
                            onMove: function(m8z) {
                                F7z('onMove', m8z);
                            },
                            onAnimationStart: function(p8z) {
                                F7z('onAnimationStart', p8z);
                            },
                            onAnimationEnd: function(Y8z) {
                                F7z('onAnimationEnd', Y8z);
                            }
                        });
                    } else {
                        K7z.attr('class', u7z);
                    }
                    w7z.css('display', '').addClass('mbsc-ms ' + (q7z.groupClass || ''));
                    e7z();
                    F7z('onMarkupReady', {
                        target: K7z[0]
                    });
                    o7z();
                    K7z.find('img').on('load', Y7z);
                    v7z.on('orientationchange resize', Y7z);
                };
                H7z._destroy = function() {
                    if (q7z.display != 'inline') {
                        A7z.find('.mbsc-page').css('padding-' + q7z.display, '');
                    }
                    v7z.off('orientationchange resize', Y7z);
                    w7z.removeClass('mbsc-ms mbsc-ms-a mbsc-ms-b').insertAfter(K7z).find('.mbsc-ms-item').each(function() {
                        var X8z = R7z(this);
                        X8z.width('').removeClass(m7z[X8z.attr('data-ref')]);
                    });
                    K7z.remove();
                    P7z.destroy();
                };
                q7z = H7z.settings;
                F7z = H7z.trigger;
                H7z.init(s7z);
            };
            N7z.MenuStrip.prototype = {
                _class: 'menustrip',
                _hasDef: true,
                _hasTheme: true,
                _hasLang: true,
                _defaults: {
                    context: 'body',
                    type: 'options',
                    display: 'inline',
                    layout: 'liquid'
                }
            };
            z7z.presetShort('menustrip', 'MenuStrip');
        }(window, document));
         (function() {
             var w1I = L9s,
                 H1I = w1I.presets.scroller;
             H1I.number = H1I.measurement;
             w1I.presetShort('number');
         }());
         (function(u1I) {
             var A1I = L9s,
                 l1I = A1I.$,
                 r1I = A1I.util,
                 T1I = r1I.testTouch,
                 c1I = r1I.getCoord,
                 t1I = r1I.isNumeric,
                 M1I = function() {},
                 L1I = A1I.classes;
             L1I.Numpad = function(i1I, e5I, k5I) {
                 function p5I(S5I) {
                     if (S1I) {
                         S5I.preventDefault();
                         N5I();
                         if (S5I.type === 'mouseup') {
                             l1I(document).off('mousemove', J5I).off('mouseup', p5I);
                         }
                     }
                 }

                 function J5I(q5I) {
                     if (S1I) {
                         z5I = c1I(q5I, 'X');
                         G5I = c1I(q5I, 'Y');
                         d5I = z5I - h5I;
                         f5I = G5I - K5I;
                         if (Math.abs(d5I) > 7 || Math.abs(f5I) > 7) {
                             N5I();
                         }
                     }
                 }

                 function Q5I(W5I) {
                     if (T1I(W5I, this)) {
                         j5I(W5I);
                         if (W5I.type === 'mousedown') {
                             l1I(document).on('mousemove', J5I).on('mouseup', p5I);
                         }
                     }
                 }

                 function N5I() {
                     clearInterval(g1I);
                     S1I = false;
                 }

                 function j5I(U5I) {
                     S1I = true;
                     h5I = c1I(U5I, 'X');
                     K5I = c1I(U5I, 'Y');
                     clearInterval(g1I);
                     clearTimeout(g1I);
                     a5I();
                     g1I = setInterval(function() {
                         a5I();
                     }, 150);
                 }

                 function a5I() {
                     var R5I, C5I, v5I = P1I.pop();
                     if (Z1I || v5I !== 'digit') {
                         if (v5I !== 'digit' && F1I[v5I]) {
                             delete F1I[v5I];
                             C5I = P1I.slice(0);
                             P1I = [];
                             for (R5I = 0; R5I < C5I.length; R5I++) {
                                 if (C5I[R5I] !== v5I) {
                                     P1I.push(C5I[R5I]);
                                 }
                             }
                         } else {
                             X1I.pop();
                         }
                         O1I(true);
                     }
                 }

                 function E5I(i5I) {
                     var I5I, Z5I, x5I = i5I.attr('data-val'),
                         O5I = i5I.attr('data-track') !== 'false',
                         m5I = i5I.attr('data-var');
                     if (!i5I.hasClass('mbsc-fr-btn-d')) {
                         if (m5I) {
                             Z5I = m5I.split(':');
                             if (O5I) {
                                 P1I.push(Z5I[0]);
                             }
                             F1I[Z5I[0]] = Z5I[2] === u1I ? Z5I[1] : F1I[Z5I[0]] == Z5I[1] ? Z5I[2] : Z5I[1];
                         }
                         if (x5I.length + Z1I <= D5I) {
                             for (I5I = 0; I5I < x5I.length; ++I5I) {
                                 Z5I = t1I(x5I[I5I]) ? +x5I[I5I] : x5I[I5I];
                                 if (V1I.allowLeadingZero || Z1I || Z5I) {
                                     P1I.push('digit');
                                     X1I.push(Z5I);
                                     Z1I = X1I.length;
                                 }
                             }
                         }
                         O1I(true);
                     }
                 }

                 function Y5I(P5I, F5I) {
                     if (!Z1I && !F5I && !V1I.allowLeadingZero || P5I.hasClass('mbsc-fr-btn-d') || P5I.hasClass('mbsc-np-btn-empty')) {
                         return;
                     }
                     if (Z1I < I1I) {
                         P1I.push('digit');
                         X1I.push(F5I);
                         O1I(true);
                     }
                 }

                 function o5I(X5I) {
                     var T5I, n5I, t5I = X5I || [],
                         V5I = [];
                     P1I = [];
                     F1I = {};
                     for (T5I = 0; T5I < t5I.length; T5I++) {
                         if (/:/.test(t5I[T5I])) {
                             n5I = t5I[T5I].split(':');
                             F1I[n5I[0]] = n5I[1];
                             P1I.push(n5I[0]);
                         } else {
                             V5I.push(t5I[T5I]);
                             P1I.push('digit');
                         }
                     }
                     return V5I;
                 }

                 function C1I(L5I, r5I, c5I, M5I) {
                     if (r5I) {
                         O1I();
                     }
                     if (!M5I) {
                         q1I = X1I.slice(0);
                         s5I = l1I.extend({}, F1I);
                         B5I = P1I.slice(0);
                         n1I._value = n1I._hasValue ? n1I._tempValue : null;
                     }
                     if (L5I) {
                         if (n1I._isInput) {
                             m1I.val(n1I._hasValue && n1I._isValid ? n1I._value : '');
                         }
                         b5I('onFill', {
                             valueText: n1I._hasValue ? n1I._tempValue : '',
                             change: c5I
                         });
                         if (c5I) {
                             n1I._preventChange = true;
                             m1I.trigger('change');
                         }
                     }
                 }

                 function O1I(l5I) {
                     var w5I, H5I = V1I.validate.call(i1I, {
                             values: X1I.slice(0),
                             variables: F1I
                         }, n1I) || [],
                         u5I = H5I && H5I.disabled || [];
                     n1I._isValid = H5I.invalid ? false : true;
                     n1I._tempValue = V1I.formatValue.call(i1I, X1I.slice(0), F1I, n1I);
                     Z1I = X1I.length;
                     D5I = H5I.length || I1I;
                     if (n1I._isVisible && L9s.SJbOo) {
                         l1I('.mbsc-np-ph', x1I).each(function(A5I) {
                             l1I(this).html(V1I.fill == 'ltr' ? A5I >= Z1I ? W1I : v1I || X1I[A5I] : A5I >= I1I - D5I ? A5I + Z1I < I1I ? W1I : v1I || X1I[A5I + Z1I - I1I] : '');
                         });
                         l1I('.mbsc-np-cph', x1I).each(function() {
                             l1I(this).html(F1I[l1I(this).attr('data-var')] || l1I(this).attr('data-ph'));
                         });
                         if (Z1I === I1I) {
                             for (w5I = 0; w5I <= 9; w5I++) {
                                 u5I.push(w5I);
                             }
                         }
                         l1I('.mbsc-np-btn', x1I).removeClass(R1I);
                         for (w5I = 0; w5I < u5I.length; w5I++) {
                             l1I('.mbsc-np-btn[data-val="' + u5I[w5I] + '"]', x1I).addClass(R1I);
                         }
                         if (n1I._isValid) {
                             l1I('.mbsc-fr-btn-s .mbsc-fr-btn', x1I).removeClass(R1I);
                         } else {
                             l1I('.mbsc-fr-btn-s .mbsc-fr-btn', x1I).addClass(R1I);
                         }
                         if (n1I.live) {
                             n1I._hasValue = l5I || n1I._hasValue;
                             C1I(l5I, false, l5I);
                             if (l5I) {
                                 b5I('onSet', {
                                     valueText: n1I._value
                                 });
                             }
                         }
                     }
                 }
                 var x1I, R1I, W1I, Z1I, V1I, v1I, h5I, K5I, z5I, G5I, d5I, f5I, S1I, g1I, X1I, D5I, b5I, I1I, q1I, m1I = l1I(i1I),
                     n1I = this,
                     B5I = [],
                     P1I = [],
                     F1I = {},
                     s5I = {},
                     y5I = {
                         107: '+',
                         109: '-'
                     },
                     U1I = {
                         48: 0,
                         49: 1,
                         50: 2,
                         51: 3,
                         52: 4,
                         53: 5,
                         54: 6,
                         55: 7,
                         56: 8,
                         57: 9,
                         96: 0,
                         97: 1,
                         98: 2,
                         99: 3,
                         100: 4,
                         101: 5,
                         102: 6,
                         103: 7,
                         104: 8,
                         105: 9
                     };
                 L1I.Frame.call(this, i1I, e5I, true);
                 n1I.setVal = n1I._setVal = function(g5I, D2I, b2I, J2I) {
                     n1I._hasValue = g5I !== null && g5I !== u1I;
                     X1I = o5I(l1I.isArray(g5I) ? g5I.slice(0) : V1I.parseValue.call(i1I, g5I, n1I));
                     C1I(D2I, true, b2I === u1I ? D2I : b2I, J2I);
                 };
                 n1I.getVal = n1I._getVal = function(a2I) {
                     return n1I._hasValue || a2I ? n1I[a2I ? '_tempValue' : '_value'] : null;
                 };
                 n1I.setArrayVal = n1I.setVal;
                 n1I.getArrayVal = function(s2I) {
                     return s2I ? X1I.slice(0) : n1I._hasValue ? q1I.slice(0) : null;
                 };
                 n1I._readValue = function() {
                     var p2I = m1I.val() || '';
                     if (p2I !== '') {
                         n1I._hasValue = true;
                     }
                     if (v1I) {
                         F1I = {};
                         P1I = [];
                         X1I = [];
                     } else {
                         F1I = n1I._hasValue ? s5I : {};
                         P1I = n1I._hasValue ? B5I : [];
                         X1I = n1I._hasValue && q1I ? q1I.slice(0) : o5I(V1I.parseValue.call(i1I, p2I, n1I));
                         C1I(false, true);
                     }
                 };
                 n1I._fillValue = function() {
                     n1I._hasValue = true;
                     C1I(true, false, true);
                 };
                 n1I._generateContent = function() {
                     var y2I, z2I, f2I, Y2I = 1,
                         G2I = '',
                         B2I = '';
                     B2I += '<div class="mbsc-np-hdr"><div role="button" tabindex="0" aria-label="' + V1I.deleteText + '" class="mbsc-np-del mbsc-fr-btn-e mbsc-ic mbsc-ic-' + V1I.deleteIcon + '"></div><div class="mbsc-np-dsp">';
                     G2I = V1I.template.replace(/d/g, '<span class="mbsc-np-ph">' + W1I + '</span>').replace(/&#100;/g, 'd');
                     G2I = G2I.replace(/{([a-zA-Z0-9]*)\:?([a-zA-Z0-9\-\_]*)}/g, '<span class="mbsc-np-cph" data-var="$1" data-ph="$2">$2</span>');
                     B2I += G2I;
                     B2I += '</div></div>';
                     B2I += '<div class="mbsc-np-tbl-c mbsc-w-p"><div class="mbsc-np-tbl">';
                     for (y2I = 0; y2I < 4; y2I++) {
                         B2I += '<div class="mbsc-np-row">';
                         for (z2I = 0; z2I < 3; z2I++) {
                             f2I = Y2I;
                             if (Y2I == 10 || Y2I == 12) {
                                 f2I = '';
                             } else if (Y2I == 11) {
                                 f2I = 0;
                             }
                             if (f2I === '') {
                                 if (Y2I == 10 && V1I.leftKey) {
                                     B2I += '<div role="button" tabindex="0" class="mbsc-np-btn mbsc-np-btn-custom mbsc-fr-btn-e" ' + (V1I.leftKey.variable ? 'data-var="' + V1I.leftKey.variable + '"' : '') + ' data-val="' + (V1I.leftKey.value || '') + '" ' + (V1I.leftKey.track !== u1I ? ' data-track="' + V1I.leftKey.track + '"' : '') + '>' + V1I.leftKey.text + '</div>';
                                 } else if (Y2I == 12 && V1I.rightKey) {
                                     B2I += '<div role="button" tabindex="0" class="mbsc-np-btn mbsc-np-btn-custom mbsc-fr-btn-e" ' + (V1I.rightKey.variable ? 'data-var="' + V1I.rightKey.variable + '"' : '') + ' data-val="' + (V1I.rightKey.value || '') + '" ' + (V1I.rightKey.track !== u1I ? ' data-track="' + V1I.rightKey.track + '"' : '') + ' >' + V1I.rightKey.text + '</div>';
                                 } else {
                                     B2I += '<div class="mbsc-np-btn mbsc-np-btn-empty"></div>';
                                 }
                             } else {
                                 B2I += '<div tabindex="0" role="button" class="mbsc-np-btn mbsc-fr-btn-e" data-val="' + f2I + '">' + f2I + '</div>';
                             }
                             Y2I++;
                         }
                         B2I += '</div>';
                     }
                     B2I += '</div></div>';
                     return B2I;
                 };
                 n1I._markupReady = function() {
                     x1I = n1I._markup;
                     O1I();
                 };
                 n1I._attachEvents = function(K2I) {
                     K2I.on('keydown', function(h2I) {
                         var o2I;
                         if (y5I[h2I.keyCode] !== u1I) {
                             o2I = l1I('.mbsc-np-btn[data-var="sign:-:"]', K2I);
                             if (o2I.length) {
                                 F1I.sign = h2I.keyCode == 107 ? '-' : '';
                                 E5I(o2I);
                             }
                         } else if (U1I[h2I.keyCode] !== u1I) {
                             Y5I(l1I('.mbsc-np-btn[data-val="' + U1I[h2I.keyCode] + '"]', K2I), U1I[h2I.keyCode]);
                         } else if (h2I.keyCode == 8) {
                             h2I.preventDefault();
                             a5I();
                         }
                     });
                     n1I.tap(l1I('.mbsc-np-btn', K2I), function() {
                         var d2I = l1I(this);
                         if (d2I.hasClass('mbsc-np-btn-custom')) {
                             E5I(d2I);
                         } else {
                             Y5I(d2I, +d2I.attr('data-val'));
                         }
                     }, false, 30, true);
                     l1I('.mbsc-np-del', K2I).on('touchstart mousedown keydown', Q5I).on('touchmove mousemove', J5I).on('keyup mouseup touchend', p5I);
                 };
                 n1I.__init = function() {
                     V1I = n1I.settings;
                     V1I.cssClass = (V1I.cssClass || '') + ' mbsc-np';
                     V1I.template = V1I.template.replace(/\\d/, '&#100;');
                     W1I = V1I.placeholder;
                     I1I = (V1I.template.match(/d/g) || []).length;
                     R1I = 'mbsc-fr-btn-d ' + (V1I.disabledClass || '');
                     v1I = V1I.mask;
                     b5I = n1I.trigger;
                     if (v1I && m1I.is('input')) {
                         m1I.attr('type', 'password');
                     }
                 };
                 n1I._indexOf = function(e2I, N2I) {
                     var E2I;
                     for (E2I = 0; E2I < e2I.length; ++E2I) {
                         if (e2I[E2I].toString() === N2I.toString()) {
                             return E2I;
                         }
                     }
                     return -1;
                 };
                 if (!k5I) {
                     n1I.init(e5I);
                 }
             };
             L1I.Numpad.prototype = {
                 _hasDef: true,
                 _hasTheme: true,
                 _hasLang: true,
                 _hasPreset: true,
                 _class: 'numpad',
                 _defaults: l1I.extend({}, L1I.Frame.prototype._defaults, {
                     template: 'dd.dd',
                     placeholder: '0',
                     deleteIcon: 'backspace',
                     allowLeadingZero: false,
                     headerText: false,
                     fill: 'rtl',
                     deleteText: 'Delete',
                     decimalSeparator: '.',
                     thousandsSeparator: ',',
                     validate: M1I,
                     parseValue: M1I,
                     formatValue: function(c2I, r2I, L2I) {
                         var Q2I, w2I = 1,
                             u2I = L2I.settings,
                             A2I = u2I.placeholder,
                             H2I = u2I.template,
                             l2I = c2I.length,
                             k2I = H2I.length,
                             j2I = '';
                         for (Q2I = 0; Q2I < k2I; Q2I++) {
                             if (H2I[k2I - Q2I - 1] == 'd') {
                                 if (w2I <= l2I) {
                                     j2I = c2I[l2I - w2I] + j2I;
                                 } else {
                                     j2I = A2I + j2I;
                                 }
                                 w2I++;
                             } else {
                                 j2I = H2I[k2I - Q2I - 1] + j2I;
                             }
                         }
                         l1I.each(r2I, function(M2I, T2I) {
                             j2I = j2I.replace('{' + M2I + '}', T2I);
                         });
                         return l1I('<div>' + j2I + '</div>').text();
                     }
                 })
             };
             A1I.themes.numpad = A1I.themes.frame;
             A1I.presetShort('numpad', 'Numpad', false);
         }());
         (function() {
             var t2I = L9s,
                 n2I = t2I.$,
                 V2I = t2I.presets.numpad,
                 X2I = {
                     min: 0,
                     max: 99.99,
                     scale: 2,
                     prefix: '',
                     suffix: '',
                     returnAffix: false
                 };
             V2I.decimal = function(F2I) {
                 function x2I(W2I) {
                     var U2I = Z2I(W2I).toFixed(P2I.scale).replace('.', P2I.decimalSeparator).replace(/\B(?=(\d{3})+(?!\d))/g, P2I.thousandsSeparator);
                     return U2I;
                 }

                 function Z2I(R2I, C2I) {
                     var O2I, v2I = R2I.slice(0),
                         m2I = 0;
                     while (v2I.length) {
                         m2I = m2I * 10 + v2I.shift();
                     }
                     for (O2I = 0; O2I < P2I.scale; O2I++) {
                         m2I /= 10;
                     }
                     return C2I ? m2I * -1 : m2I;
                 }
                 var i2I = n2I.extend({}, F2I.settings),
                     P2I = n2I.extend(F2I.settings, X2I, i2I),
                     I2I = P2I.min < 0;
                 F2I.getVal = function(S2I) {
                     var q2I = F2I._getVal(S2I);
                     return t2I.util.isNumeric(q2I) ? +q2I : q2I;
                 };
                 return {
                     template: (I2I ? '{sign}' : '') + P2I.prefix.replace(/d/g, '\\d') + Array((Math.floor(Math.max(P2I.max, Math.abs(P2I.min))) + '').length + 1).join('d') + (P2I.scale ? '.' + Array(P2I.scale + 1).join('d') : '') + P2I.suffix.replace(/d/g, '\\d'),
                     leftKey: I2I ? {
                         text: '-/+',
                         variable: 'sign:-:',
                         track: false
                     } : undefined,
                     parseValue: function(a0I) {
                         var D0I, g2I, J0I = a0I || P2I.defaultValue,
                             b0I = [];
                         if (J0I) {
                             J0I = (J0I + '').replace(P2I.decimalSeparator, '.').replace(P2I.thousandsSeparator, '');
                             g2I = J0I.match(/\d+\.?\d*/g);
                             if (g2I) {
                                 g2I = (+g2I[0]).toFixed(P2I.scale);
                                 for (D0I = 0; D0I < g2I.length; D0I++) {
                                     if (g2I[D0I] != '.') {
                                         if (+g2I[D0I]) {
                                             b0I.push(+g2I[D0I]);
                                         } else if (b0I.length) {
                                             b0I.push(0);
                                         }
                                     }
                                 }
                             }
                         }
                         if (a0I < 0) {
                             b0I.push('sign:' + '-');
                         }
                         return b0I;
                     },
                     formatValue: function(p0I, B0I) {
                         var s0I = x2I(p0I),
                             Y0I = Z2I(p0I, B0I && B0I.sign == '-');
                         return (Y0I < 0 ? '-' : '') + (P2I.returnAffix ? P2I.prefix + s0I + P2I.suffix : s0I);
                     },
                     validate: function(f0I) {
                         var G0I = f0I.values,
                             K0I = x2I(G0I),
                             y0I = Z2I(G0I, f0I.variables && f0I.variables.sign == '-'),
                             z0I = [];
                         if (!G0I.length && !P2I.allowLeadingZero) {
                             z0I.push(0);
                         }
                         if (F2I.isVisible()) {
                             n2I('.mbsc-np-dsp', F2I._markup).html((f0I.variables.sign || '') + P2I.prefix + K0I + P2I.suffix);
                         }
                         return {
                             disabled: z0I,
                             invalid: y0I > P2I.max || y0I < P2I.min || (P2I.invalid ? F2I._indexOf(P2I.invalid, y0I) != -1 : false)
                         };
                     }
                 };
             };
         }());
         (function() {
             function d0I(w0I) {
                 var j0I = 0,
                     Q0I = 1,
                     k0I = 0;
                 while (w0I.length) {
                     if (j0I > 3) {
                         Q0I = 60 * 60;
                     } else if (j0I > 1) {
                         Q0I = 60;
                     }
                     k0I = k0I + w0I.pop() * Q0I * (j0I % 2 ? 10 : 1);
                     j0I++;
                 }
                 return k0I;
             }
             var o0I = L9s,
                 h0I = o0I.$,
                 e0I = o0I.presets.numpad,
                 E0I = ['h', 'm', 's'],
                 N0I = {
                     min: 0,
                     max: 362439,
                     defaultValue: 0,
                     hourTextShort: 'h',
                     minuteTextShort: 'm',
                     secTextShort: 's'
                 };
             e0I.timespan = function(l0I) {
                 function c0I(t0I) {
                     var M0I, r0I = '',
                         T0I = 60 * 60;
                     h0I(E0I).each(function(V0I, n0I) {
                         M0I = Math.floor(t0I / T0I);
                         t0I -= M0I * T0I;
                         T0I /= 60;
                         if (M0I > 0 || n0I == 's' && !r0I) {
                             r0I = r0I + (r0I ? ' ' : '') + M0I + A0I[n0I];
                         }
                     });
                     return r0I;
                 }
                 var L0I = h0I.extend({}, l0I.settings),
                     H0I = h0I.extend(l0I.settings, N0I, L0I),
                     A0I = {
                         h: H0I.hourTextShort.replace(/d/g, '\\d'),
                         m: H0I.minuteTextShort.replace(/d/g, '\\d'),
                         s: H0I.secTextShort.replace(/d/g, '\\d')
                     },
                     u0I = 'd<span class="mbsc-np-sup mbsc-np-time">' + A0I.s + '</span>';
                 if (H0I.max > 9) {
                     u0I = 'd' + u0I;
                 }
                 if (H0I.max > 99) {
                     u0I = '<span class="mbsc-np-ts-m">' + (H0I.max > 639 ? 'd' : '') + 'd</span><span class="mbsc-np-sup mbsc-np-time">' + A0I.m + '</span>' + u0I;
                 }
                 if (H0I.max > 6039) {
                     u0I = '<span class="mbsc-np-ts-h">' + (H0I.max > 38439 ? 'd' : '') + 'd</span><span class="mbsc-np-sup mbsc-np-time">' + A0I.h + '</span>' + u0I;
                 }
                 l0I.setVal = function(X0I, P0I, F0I, Z0I) {
                     if (o0I.util.isNumeric(X0I)) {
                         X0I = c0I(X0I);
                     }
                     return l0I._setVal(X0I, P0I, F0I, Z0I);
                 };
                 l0I.getVal = function(I0I) {
                     return l0I._hasValue || I0I ? d0I(l0I.getArrayVal(I0I)) : null;
                 };
                 return {
                     template: u0I,
                     parseValue: function(O0I) {
                         var i0I, m0I = O0I || c0I(H0I.defaultValue),
                             x0I = [];
                         if (m0I) {
                             h0I(E0I).each(function(R0I, v0I) {
                                 i0I = new RegExp('(\\d+)' + A0I[v0I], 'gi').exec(m0I);
                                 if (i0I) {
                                     i0I = +i0I[1];
                                     if (i0I > 9) {
                                         x0I.push(Math.floor(i0I / 10));
                                         x0I.push(i0I % 10);
                                     } else {
                                         if (x0I.length) {
                                             x0I.push(0);
                                         }
                                         if (i0I || x0I.length) {
                                             x0I.push(i0I);
                                         }
                                     }
                                 } else if (x0I.length) {
                                     x0I.push(0);
                                     x0I.push(0);
                                 }
                             });
                         }
                         return x0I;
                     },
                     formatValue: function(C0I) {
                         return c0I(d0I(C0I));
                     },
                     validate: function(S0I) {
                         var W0I = S0I.values,
                             U0I = d0I(W0I.slice(0)),
                             q0I = [];
                         if (!W0I.length) {
                             q0I.push(0);
                         }
                         return {
                             disabled: q0I,
                             invalid: U0I > H0I.max || U0I < H0I.min || (H0I.invalid ? l0I._indexOf(H0I.invalid, +U0I) != -1 : false)
                         };
                     }
                 };
             };
         }());
         (function() {
             var D4I = L9s,
                 g0I = D4I.$,
                 b4I = D4I.presets.numpad,
                 J4I = {
                     timeFormat: 'hh:ii A',
                     amText: 'am',
                     pmText: 'pm'
                 };
             b4I.time = function(d4I) {
                 function N4I(A4I) {
                     var u4I, r4I, L4I, n4I, V4I, F4I, M4I, T4I, X4I, P4I, c4I = [],
                         t4I = 2 * y4I.length;
                     o4I = t4I;
                     if (!A4I.length) {
                         if (s4I) {
                             c4I.push(0);
                             c4I.push(a4I.leftKey.value);
                         }
                         c4I.push(a4I.rightKey.value);
                     }
                     if (!s4I && (t4I - A4I.length < 2 || A4I[0] != 1 && (A4I[0] > 2 || A4I[1] > 3) && t4I - A4I.length <= 2)) {
                         c4I.push('30');
                         c4I.push('00');
                     }
                     if ((s4I ? A4I[0] > 1 || A4I[1] > 2 : A4I[0] != 1 && (A4I[0] > 2 || A4I[1] > 3)) && A4I[0]) {
                         A4I.unshift(0);
                         o4I = t4I - 1;
                     }
                     if (A4I.length == t4I) {
                         for (u4I = 0; u4I <= 9; ++u4I) {
                             c4I.push(u4I);
                         }
                     } else if (A4I.length == 1 && s4I && A4I[0] == 1 || A4I.length && A4I.length % 2 === 0 || !s4I && A4I[0] == 2 && A4I[1] > 3 && A4I.length % 2 == 1) {
                         for (u4I = 6; u4I <= 9; ++u4I) {
                             c4I.push(u4I);
                         }
                     }
                     X4I = A4I[1] !== undefined ? '' + A4I[0] + A4I[1] : '';
                     P4I = +Y4I == +(A4I[3] !== undefined ? '' + A4I[2] + A4I[3] : '');
                     if (a4I.invalid) {
                         for (u4I = 0; u4I < a4I.invalid.length; ++u4I) {
                             F4I = a4I.invalid[u4I].getHours();
                             M4I = a4I.invalid[u4I].getMinutes();
                             T4I = a4I.invalid[u4I].getSeconds();
                             if (F4I == +X4I) {
                                 if (y4I.length == 2 && (M4I < 10 ? 0 : +('' + M4I)[0]) == +A4I[2]) {
                                     c4I.push(M4I < 10 ? M4I : +('' + M4I)[1]);
                                     break;
                                 } else if ((T4I < 10 ? 0 : +('' + T4I)[0]) == +A4I[4]) {
                                     c4I.push(T4I < 10 ? T4I : +('' + T4I)[1]);
                                     break;
                                 }
                             }
                         }
                     }
                     if (a4I.min || a4I.max) {
                         r4I = +p4I == +X4I;
                         L4I = +B4I == +X4I;
                         V4I = L4I && P4I;
                         n4I = r4I && P4I;
                         if (A4I.length === 0) {
                             for (u4I = s4I ? 2 : p4I > 19 ? p4I[0] : 3; u4I <= (p4I[0] == 1 ? 9 : p4I[0] - 1); ++u4I) {
                                 c4I.push(u4I);
                             }
                             if (p4I >= 10) {
                                 c4I.push(0);
                                 if (p4I[0] == 2) {
                                     for (u4I = 3; u4I <= 9; ++u4I) {
                                         c4I.push(u4I);
                                     }
                                 }
                             }
                             if (B4I && B4I < 10 || p4I && p4I >= 10) {
                                 for (u4I = B4I && B4I < 10 ? +B4I[0] + 1 : 0; u4I < (p4I && p4I >= 10 ? p4I[0] : 10); ++u4I) {
                                     c4I.push(u4I);
                                 }
                             }
                         }
                         if (A4I.length == 1) {
                             if (A4I[0] === 0) {
                                 for (u4I = 0; u4I < p4I[0]; ++u4I) {
                                     c4I.push(u4I);
                                 }
                             }
                             if (p4I && (A4I[0] !== 0 && (s4I ? A4I[0] == 1 : A4I[0] == 2))) {
                                 for (u4I = s4I ? 3 : 4; u4I <= 9; ++u4I) {
                                     c4I.push(u4I);
                                 }
                             }
                             if (A4I[0] == p4I[0]) {
                                 for (u4I = 0; u4I < p4I[1]; ++u4I) {
                                     c4I.push(u4I);
                                 }
                             }
                             if (A4I[0] == B4I[0] && !s4I) {
                                 for (u4I = +B4I[1] + 1; u4I <= 9; ++u4I) {
                                     c4I.push(u4I);
                                 }
                             }
                         }
                         if (A4I.length == 2 && (r4I || L4I)) {
                             for (u4I = L4I ? +Y4I[0] + 1 : 0; u4I < (r4I ? +z4I[0] : 10); ++u4I) {
                                 c4I.push(u4I);
                             }
                         }
                         if (A4I.length == 3 && (L4I && A4I[2] == Y4I[0] || r4I && A4I[2] == z4I[0])) {
                             for (u4I = L4I && A4I[2] == Y4I[0] ? +Y4I[1] + 1 : 0; u4I < (r4I && A4I[2] == z4I[0] ? +z4I[1] : 10); ++u4I) {
                                 c4I.push(u4I);
                             }
                         }
                         if (A4I.length == 4 && (n4I || V4I)) {
                             for (u4I = V4I ? +f4I[0] + 1 : 0; u4I < (n4I ? +G4I[0] : 10); ++u4I) {
                                 c4I.push(u4I);
                             }
                         }
                         if (A4I.length == 5 && (n4I && A4I[4] == G4I[0] || V4I && A4I[4] == f4I[0])) {
                             for (u4I = V4I && A4I[4] == f4I[0] ? +f4I[1] + 1 : 0; u4I < (n4I && A4I[4] == G4I[0] ? +G4I[1] : 10); ++u4I) {
                                 c4I.push(u4I);
                             }
                         }
                     }
                     return c4I;
                 }

                 function e4I(Q4I, w4I) {
                     var j4I, k4I = '';
                     for (j4I = 0; j4I < Q4I.length; ++j4I) {
                         k4I += Q4I[j4I] + (j4I % 2 == (Q4I.length % 2 == 1 ? 0 : 1) && j4I != Q4I.length - 1 ? ':' : '');
                     }
                     g0I.each(w4I, function(l4I, H4I) {
                         k4I += ' ' + H4I;
                     });
                     return k4I;
                 }
                 var E4I = g0I.extend({}, d4I.settings),
                     a4I = g0I.extend(d4I.settings, J4I, E4I),
                     y4I = a4I.timeFormat.split(':'),
                     s4I = a4I.timeFormat.match(/a/i),
                     h4I = s4I ? s4I[0] == 'a' ? a4I.amText : a4I.amText.toUpperCase() : '',
                     K4I = s4I ? s4I[0] == 'a' ? a4I.pmText : a4I.pmText.toUpperCase() : '',
                     o4I = 0,
                     p4I = a4I.min ? '' + a4I.min.getHours() : '',
                     B4I = a4I.max ? '' + a4I.max.getHours() : '',
                     z4I = a4I.min ? '' + (a4I.min.getMinutes() < 10 ? '0' + a4I.min.getMinutes() : a4I.min.getMinutes()) : '',
                     Y4I = a4I.max ? '' + (a4I.max.getMinutes() < 10 ? '0' + a4I.max.getMinutes() : a4I.max.getMinutes()) : '',
                     G4I = a4I.min ? '' + (a4I.min.getSeconds() < 10 ? '0' + a4I.min.getSeconds() : a4I.min.getSeconds()) : '',
                     f4I = a4I.max ? '' + (a4I.max.getSeconds() < 10 ? '0' + a4I.max.getSeconds() : a4I.max.getSeconds()) : '';
                 a4I.min ? a4I.min.setFullYear(2014, 7, 20) : '';
                 a4I.max ? a4I.max.setFullYear(2014, 7, 20) : '';
                 return {
                     placeholder: '-',
                     allowLeadingZero: true,
                     template: (y4I.length == 3 ? 'dd:dd:dd' : y4I.length == 2 ? 'dd:dd' : 'dd') + (s4I ? '<span class="mbsc-np-sup">{ampm:--}</span>' : ''),
                     leftKey: s4I ? {
                         text: h4I,
                         variable: 'ampm:' + h4I,
                         value: '00'
                     } : {
                         text: ':00',
                         value: '00'
                     },
                     rightKey: s4I ? {
                         text: K4I,
                         variable: 'ampm:' + K4I,
                         value: '00'
                     } : {
                         text: ':30',
                         value: '30'
                     },
                     parseValue: function(m4I) {
                         var I4I, x4I, Z4I = m4I || a4I.defaultValue,
                             i4I = [];
                         if (Z4I) {
                             Z4I = Z4I + '';
                             x4I = Z4I.match(/\d/g);
                             if (x4I) {
                                 for (I4I = 0; I4I < x4I.length; I4I++) {
                                     i4I.push(+x4I[I4I]);
                                 }
                             }
                             if (s4I) {
                                 i4I.push('ampm:' + (Z4I.match(new RegExp(a4I.pmText, 'gi')) ? K4I : h4I));
                             }
                         }
                         return i4I;
                     },
                     formatValue: function(O4I, v4I) {
                         return e4I(O4I, v4I);
                     },
                     validate: function(W4I) {
                         var R4I = W4I.values,
                             q4I = W4I.variables,
                             U4I = e4I(R4I, q4I),
                             C4I = R4I.length >= 3 ? new Date(2014, 7, 20, '' + R4I[0] + (R4I.length % 2 === 0 ? R4I[1] : ''), '' + R4I[R4I.length % 2 === 0 ? 2 : 1] + R4I[R4I.length % 2 === 0 ? 3 : 2]) : '';
                         return {
                             disabled: N4I(R4I),
                             length: o4I,
                             invalid: (s4I ? !new RegExp('^(0?[1-9]|1[012])(:[0-5]\\d)?(:[0-5][0-9])' + ' (?:' + a4I.amText + '|' + a4I.pmText + ')$', 'i').test(U4I) : !/^([0-1]?[0-9]|2[0-4]):([0-5][0-9])(:[0-5][0-9])?$/.test(U4I)) || (a4I.invalid ? d4I._indexOf(a4I.invalid, C4I) != -1 : false) || !((a4I.min ? a4I.min <= C4I : true) && (a4I.max ? C4I <= a4I.max : true))
                         };
                     }
                 };
             };
         }());
         (function() {
             var g4I = L9s,
                 S4I = g4I.$,
                 D8I = g4I.presets.numpad,
                 b8I = {
                     dateOrder: 'mdy',
                     dateFormat: 'mm/dd/yy',
                     delimiter: '/'
                 };
             D8I.date = function(d8I) {
                 function E8I(Z8I) {
                     return new Date(+('' + Z8I[a8I] + Z8I[a8I + 1] + Z8I[a8I + 2] + Z8I[a8I + 3]), +('' + Z8I[s8I] + Z8I[s8I + 1]) - 1, +('' + Z8I[B8I] + Z8I[B8I + 1]));
                 }

                 function j8I(A8I) {
                     var u8I, L8I, X8I, T8I, t8I, c8I = [],
                         r8I = A8I[a8I + 3] !== undefined ? '' + A8I[a8I] + A8I[a8I + 1] + A8I[a8I + 2] + A8I[a8I + 3] : '',
                         M8I = A8I[s8I + 1] !== undefined ? '' + A8I[s8I] + A8I[s8I + 1] : '',
                         n8I = A8I[B8I + 1] !== undefined ? '' + A8I[B8I] + A8I[B8I + 1] : '',
                         F8I = '' + J8I.getMaxDayOfMonth(r8I || 2012, M8I - 1 || 0),
                         P8I = f8I === r8I && +y8I === +M8I,
                         V8I = Y8I === r8I && +z8I === +M8I;
                     if (J8I.invalid) {
                         for (u8I = 0; u8I < J8I.invalid.length; ++u8I) {
                             X8I = J8I.getYear(J8I.invalid[u8I]);
                             T8I = J8I.getMonth(J8I.invalid[u8I]);
                             t8I = J8I.getDay(J8I.invalid[u8I]);
                             if (X8I == +r8I && T8I + 1 == +M8I) {
                                 if ((t8I < 10 ? 0 : +('' + t8I)[0]) == +A8I[B8I]) {
                                     c8I.push(t8I < 10 ? t8I : +('' + t8I)[1]);
                                     break;
                                 }
                             }
                             if (T8I + 1 == +M8I && t8I == +n8I) {
                                 if (('' + X8I).substring(0, 3) == '' + A8I[a8I] + A8I[a8I + 1] + A8I[a8I + 2]) {
                                     c8I.push(('' + X8I)[3]);
                                     break;
                                 }
                             }
                             if (X8I == +r8I && t8I == +n8I) {
                                 if ((T8I < 10 ? 0 : +('' + (T8I + 1))[0]) == +A8I[s8I]) {
                                     c8I.push(T8I < 10 ? T8I : +('' + (T8I + 1))[1]);
                                     break;
                                 }
                             }
                         }
                     }
                     if (n8I == '31' && (A8I.length == s8I || A8I.length == s8I + 1)) {
                         if (A8I[s8I] != 1) {
                             c8I.push(2, 4, 6, 9, 11);
                         } else {
                             c8I.push(1);
                         }
                     }
                     if (n8I == '30' && A8I[s8I] === 0 && A8I.length <= s8I + 1) {
                         c8I.push(2);
                     }
                     if (A8I.length == s8I) {
                         for (u8I = Y8I === r8I && +z8I < 10 ? 1 : 2; u8I <= 9; ++u8I) {
                             c8I.push(u8I);
                         }
                         if (f8I === r8I && +y8I >= 10) {
                             c8I.push(0);
                         }
                     }
                     if (A8I.length == s8I + 1) {
                         if (A8I[s8I] == 1) {
                             for (u8I = Y8I === r8I ? +z8I[1] + 1 : 3; u8I <= 9; ++u8I) {
                                 c8I.push(u8I);
                             }
                             if (f8I == r8I) {
                                 for (u8I = 0; u8I < +y8I[1]; ++u8I) {
                                     c8I.push(u8I);
                                 }
                             }
                         }
                         if (A8I[s8I] === 0) {
                             c8I.push(0);
                             if (Y8I === r8I || f8I === r8I) {
                                 for (u8I = Y8I === r8I ? +n8I > +h8I ? +z8I : +z8I + 1 : 0; u8I <= (f8I === r8I ? +n8I < +K8I ? +y8I - 1 : +y8I - 1 : 9); ++u8I) {
                                     c8I.push(u8I);
                                 }
                             }
                         }
                     }
                     if (A8I.length == B8I) {
                         for (u8I = V8I ? (+h8I > 10 ? +h8I[0] : 0) + 1 : +F8I[0] + 1; u8I <= 9; ++u8I) {
                             c8I.push(u8I);
                         }
                         if (P8I) {
                             for (u8I = 0; u8I < (+K8I < 10 ? 0 : K8I[0]); ++u8I) {
                                 c8I.push(u8I);
                             }
                         }
                     }
                     if (A8I.length == B8I + 1) {
                         if (A8I[B8I] >= 3 || M8I == '02') {
                             for (u8I = +F8I[1] + 1; u8I <= 9; ++u8I) {
                                 c8I.push(u8I);
                             }
                         }
                         if (V8I && +h8I[0] == A8I[B8I]) {
                             for (u8I = +h8I[1] + 1; u8I <= 9; ++u8I) {
                                 c8I.push(u8I);
                             }
                         }
                         if (P8I && K8I[0] == A8I[B8I]) {
                             for (u8I = 0; u8I < +K8I[1]; ++u8I) {
                                 c8I.push(u8I);
                             }
                         }
                         if (A8I[B8I] === 0) {
                             c8I.push(0);
                             if (V8I || P8I) {
                                 for (u8I = V8I ? +h8I + 1 : 1; u8I <= (P8I ? +K8I - 1 : 9); ++u8I) {
                                     c8I.push(u8I);
                                 }
                             }
                         }
                     }
                     if (A8I[a8I + 2] !== undefined && M8I == '02' && n8I == '29') {
                         for (L8I = +('' + A8I[a8I] + A8I[a8I + 1] + A8I[a8I + 2] + 0); L8I <= +('' + A8I[a8I] + A8I[a8I + 1] + A8I[a8I + 2] + 9); ++L8I) {
                             c8I.push(!N8I(L8I) ? L8I % 10 : '');
                         }
                     }
                     if (A8I.length == a8I) {
                         if (J8I.min) {
                             for (u8I = 0; u8I < +f8I[0]; ++u8I) {
                                 c8I.push(u8I);
                             }
                         }
                         if (J8I.max) {
                             for (u8I = +Y8I[0] + 1; u8I <= 9; ++u8I) {
                                 c8I.push(u8I);
                             }
                         }
                         c8I.push(0);
                     }
                     if (J8I.min || J8I.max) {
                         for (L8I = 1; L8I < 4; ++L8I) {
                             if (A8I.length == a8I + L8I) {
                                 if (A8I[a8I + L8I - 1] == +f8I[L8I - 1] && (L8I == 3 ? A8I[a8I + L8I - 2] == +f8I[L8I - 2] : true)) {
                                     for (u8I = 0; u8I < +f8I[L8I] + (L8I == 3 && A8I[s8I + 1] && +y8I > +M8I ? 1 : 0); ++u8I) {
                                         c8I.push(u8I);
                                     }
                                 }
                                 if (A8I[a8I + L8I - 1] == +Y8I[L8I - 1] && (L8I == 3 ? A8I[a8I + L8I - 2] == +Y8I[L8I - 2] : true)) {
                                     for (u8I = +Y8I[L8I] + (L8I == 3 && +z8I < +M8I ? 0 : 1); u8I <= 9; ++u8I) {
                                         c8I.push(u8I);
                                     }
                                 }
                             }
                         }
                     }
                     return c8I;
                 }

                 function N8I(l8I) {
                     return l8I % 4 === 0 && l8I % 100 !== 0 || l8I % 400 === 0;
                 }
                 var a8I, s8I, B8I, o8I, G8I = [],
                     e8I = S4I.extend({}, d8I.settings),
                     J8I = S4I.extend(d8I.settings, M9s.defaults, b8I, e8I),
                     p8I = J8I.dateOrder,
                     y8I = J8I.min ? '' + (J8I.getMonth(J8I.min) + 1) : 0,
                     z8I = J8I.max ? '' + (J8I.getMonth(J8I.max) + 1) : 0,
                     K8I = J8I.min ? '' + J8I.getDay(J8I.min) : 0,
                     h8I = J8I.max ? '' + J8I.getDay(J8I.max) : 0,
                     f8I = J8I.min ? '' + J8I.getYear(J8I.min) : 0,
                     Y8I = J8I.max ? '' + J8I.getYear(J8I.max) : 0;
                 p8I = p8I.replace(/y+/gi, 'yyyy');
                 p8I = p8I.replace(/m+/gi, 'mm');
                 p8I = p8I.replace(/d+/gi, 'dd');
                 a8I = p8I.toUpperCase().indexOf('Y');
                 s8I = p8I.toUpperCase().indexOf('M');
                 B8I = p8I.toUpperCase().indexOf('D');
                 p8I = '';
                 G8I.push({
                     val: a8I,
                     n: 'yyyy'
                 }, {
                     val: s8I,
                     n: 'mm'
                 }, {
                     val: B8I,
                     n: 'dd'
                 });
                 G8I.sort(function(Q8I, k8I) {
                     return Q8I.val - k8I.val;
                 });
                 S4I.each(G8I, function(H8I, w8I) {
                     p8I += w8I.n;
                 });
                 a8I = p8I.indexOf('y');
                 s8I = p8I.indexOf('m');
                 B8I = p8I.indexOf('d');
                 p8I = '';
                 for (o8I = 0; o8I < 8; ++o8I) {
                     p8I += 'd';
                     if (o8I + 1 == a8I || o8I + 1 == s8I || o8I + 1 == B8I) {
                         p8I += J8I.delimiter;
                     }
                 }
                 d8I.getVal = function(I8I) {
                     return d8I._hasValue || I8I ? E8I(d8I.getArrayVal(I8I)) : null;
                 };
                 return {
                     placeholder: '-',
                     fill: 'ltr',
                     allowLeadingZero: true,
                     template: p8I,
                     parseValue: function(v8I) {
                         var m8I, x8I = [],
                             O8I = v8I || J8I.defaultValue,
                             i8I = M9s.parseDate(J8I.dateFormat, O8I, J8I);
                         if (O8I) {
                             for (m8I = 0; m8I < G8I.length; ++m8I) {
                                 if (/m/i.test(G8I[m8I].n)) {
                                     x8I = x8I.concat(((J8I.getMonth(i8I) < 9 ? '0' : '') + (J8I.getMonth(i8I) + 1)).split(''));
                                 } else if (/d/i.test(G8I[m8I].n)) {
                                     x8I = x8I.concat(((J8I.getDay(i8I) < 10 ? '0' : '') + J8I.getDay(i8I)).split(''));
                                 } else {
                                     x8I = x8I.concat((J8I.getYear(i8I) + '').split(''));
                                 }
                             }
                         }
                         return x8I;
                     },
                     formatValue: function(R8I) {
                         return M9s.formatDate(J8I.dateFormat, E8I(R8I), J8I);
                     },
                     validate: function(W8I) {
                         var U8I = W8I.values,
                             C8I = E8I(U8I);
                         return {
                             disabled: j8I(U8I),
                             invalid: !(C8I != 'Invalid Date' && (J8I.min ? J8I.min <= C8I : true) && (J8I.max ? C8I <= J8I.max : true)) || (J8I.invalid ? d8I._indexOf(J8I.invalid, C8I) != -1 : false)
                         };
                     }
                 };
             };
         }());
         (function(D7I) {
             var g8I = L9s,
                 q8I = g8I.$,
                 b7I = g8I.presets.scroller,
                 S8I = g8I.util.datetime,
                 J7I = g8I.util,
                 a7I = J7I.testTouch,
                 s7I = {
                     autoCorrect: true,
                     showSelector: true,
                     minRange: 1,
                     rangeTap: true,
                     fromText: 'Start',
                     toText: 'End'
                 };
             g8I.presetShort('range');
             b7I.range = function(B7I) {
                 function L7I(B3I, Y3I) {
                     return {
                         h: B3I ? B3I.getHours() : Y3I ? 23 : 0,
                         i: B3I ? B3I.getMinutes() : Y3I ? 59 : 0,
                         s: B3I ? B3I.getSeconds() : Y3I ? 59 : 0
                     };
                 }

                 function I7I() {
                     var S7I, J3I, g7I, a3I, D3I, b3I = 0,
                         s3I = z7I || !f7I ? ' mbsc-cal-day-hl mbsc-cal-sel-start' : ' mbsc-cal-sel-start',
                         p3I = z7I || f7I ? ' mbsc-cal-day-hl mbsc-cal-sel-end' : ' mbsc-cal-sel-end';
                     E7I = G7I ? S8I.formatDate(K7I, G7I, p7I) : '';
                     d7I = Y7I ? S8I.formatDate(K7I, Y7I, p7I) : '';
                     if (y7I) {
                         q8I('.mbsc-range-btn-v-start', y7I).html(E7I || '&nbsp;');
                         q8I('.mbsc-range-btn-v-end', y7I).html(d7I || '&nbsp;');
                         S7I = G7I ? new Date(G7I) : null;
                         g7I = Y7I ? new Date(Y7I) : null;
                         if (!S7I && g7I) {
                             S7I = new Date(g7I);
                         }
                         if (!g7I && S7I) {
                             g7I = new Date(S7I);
                         }
                         D3I = f7I ? g7I : S7I;
                         q8I('.mbsc-cal-table .mbsc-cal-day-sel .mbsc-cal-day-i', y7I).removeClass(A7I);
                         q8I('.mbsc-cal-table .mbsc-cal-day-hl', y7I).removeClass(H7I);
                         q8I('.mbsc-cal-table .mbsc-cal-day-sel', y7I).removeClass('mbsc-cal-day-sel mbsc-cal-sel-start mbsc-cal-sel-end').removeAttr('aria-selected');
                         if (S7I && g7I) {
                             J3I = S7I.setHours(0, 0, 0, 0);
                             a3I = g7I.setHours(0, 0, 0, 0);
                             while (g7I >= S7I && b3I < 84) {
                                 q8I('.mbsc-cal-day[data-full="' + D3I.getFullYear() + '-' + D3I.getMonth() + '-' + D3I.getDate() + '"]', y7I).addClass('mbsc-cal-day-sel' + (D3I.getTime() === J3I ? s3I : '') + (D3I.getTime() === a3I ? p3I : '')).attr('aria-selected', 'true').find('.mbsc-cal-day-i ').addClass(A7I);
                                 D3I.setDate(D3I.getDate() + (f7I ? -1 : 1));
                                 b3I++;
                             }
                         }
                     }
                 }

                 function t7I() {
                     if (M7I && y7I) {
                         q8I('.mbsc-range-btn-c', y7I).removeClass('mbsc-range-btn-sel').removeAttr('aria-checked').find('.mbsc-range-btn', y7I).removeClass(A7I);
                         i7I(q8I('.mbsc-range-btn-c', y7I).eq(f7I));
                     }
                 }

                 function i7I(q7I) {
                     q7I.addClass('mbsc-range-btn-sel').attr('aria-checked', 'true').find('.mbsc-range-btn').addClass(A7I);
                 }

                 function x7I() {
                     return G7I && Y7I ? Math.max(1, Math.round((new Date(Y7I).setHours(0, 0, 0, 0) - new Date(G7I).setHours(0, 0, 0, 0)) / 86400000) + 1) : 0;
                 }

                 function n7I(U7I, W7I) {
                     var C7I = true;
                     if (U7I && G7I && Y7I) {
                         if (Y7I - G7I > p7I.maxRange - 1) {
                             if (f7I) {
                                 G7I = new Date(Y7I - p7I.maxRange + 1);
                             } else {
                                 Y7I = new Date(+G7I + p7I.maxRange - 1);
                             }
                         }
                         if (Y7I - G7I < p7I.minRange - 1) {
                             if (f7I) {
                                 G7I = new Date(Y7I - p7I.minRange + 1);
                             } else {
                                 Y7I = new Date(+G7I + p7I.minRange - 1);
                             }
                         }
                     }
                     if (!G7I || !Y7I) {
                         C7I = false;
                     }
                     if (W7I) {
                         I7I();
                     }
                     return C7I;
                 }

                 function m7I(R7I) {
                     B7I._startDate = h7I = G7I;
                     B7I._endDate = o7I = Y7I;
                     if (p7I.startInput) {
                         q8I(p7I.startInput).val(E7I);
                         if (R7I) {
                             q8I(p7I.startInput).trigger('change');
                         }
                     }
                     if (p7I.endInput) {
                         q8I(p7I.endInput).val(d7I);
                         if (R7I) {
                             q8I(p7I.endInput).trigger('change');
                         }
                     }
                 }

                 function P7I(O7I, v7I) {
                     if (O7I) {
                         O7I.setFullYear(v7I.getFullYear());
                         O7I.setMonth(v7I.getMonth());
                         O7I.setDate(v7I.getDate());
                     }
                 }
                 var Q7I, y7I, j7I, K7I, r7I, e7I, k7I, E7I, d7I, G7I, w7I, Y7I, u7I, Z7I, F7I, X7I, M7I, h7I = B7I._startDate,
                     o7I = B7I._endDate,
                     f7I = 0,
                     l7I = new Date(),
                     V7I = q8I.extend({}, B7I.settings),
                     p7I = q8I.extend(B7I.settings, s7I, V7I),
                     c7I = p7I.anchor,
                     z7I = p7I.rangeTap,
                     A7I = p7I.activeClass || '',
                     T7I = 'mbsc-fr-btn-d ' + (p7I.disabledClass || ''),
                     H7I = 'mbsc-cal-day-hl',
                     N7I = p7I.defaultValue === null ? [] : p7I.defaultValue || [new Date(l7I.setHours(0, 0, 0, 0)), new Date(l7I.getFullYear(), l7I.getMonth(), l7I.getDate() + 6, 23, 59, 59, 999)];
                 if (z7I) {
                     p7I.tabs = true;
                 }
                 r7I = b7I.calbase.call(this, B7I);
                 Q7I = q8I.extend({}, r7I);
                 K7I = B7I.format;
                 Z7I = p7I.controls.join('') === 'time';
                 M7I = p7I.controls.length == 1 && p7I.controls[0] == 'calendar' ? p7I.showSelector : true;
                 if (p7I.startInput) {
                     F7I = q8I(p7I.startInput).prop('readonly');
                     B7I.attachShow(q8I(p7I.startInput).prop('readonly', true), function() {
                         f7I = 0;
                         p7I.anchor = c7I || q8I(p7I.startInput);
                     });
                 }
                 if (p7I.endInput) {
                     X7I = q8I(p7I.endInput).prop('readonly');
                     B7I.attachShow(q8I(p7I.endInput).prop('readonly', true), function() {
                         f7I = 1;
                         p7I.anchor = c7I || q8I(p7I.endInput);
                     });
                 }
                 B7I.setVal = function(y3I, K3I, h3I, z3I, o3I) {
                     var f3I = y3I || [],
                         G3I = y3I;
                     if (f3I[0] === D7I || f3I[0] === null || f3I[0].getTime) {
                         k7I = true;
                         G7I = f3I[0] || null;
                         E7I = G7I ? S8I.formatDate(K7I, G7I, p7I) : '';
                         if (!f7I) {
                             G3I = Q7I.parseValue(E7I, B7I);
                         }
                     }
                     if (f3I[1] === D7I || f3I[1] === null || f3I[1].getTime) {
                         k7I = true;
                         Y7I = f3I[1] || null;
                         d7I = Y7I ? S8I.formatDate(K7I, Y7I, p7I) : '';
                         if (f7I) {
                             G3I = Q7I.parseValue(d7I, B7I);
                         }
                     }
                     if (!z3I) {
                         B7I._startDate = h7I = G7I;
                         B7I._endDate = o7I = Y7I;
                     }
                     B7I._setVal(G3I, K3I, h3I, z3I, o3I);
                 };
                 B7I.getVal = function(d3I) {
                     return d3I ? [G7I, Y7I] : B7I._hasValue ? [h7I, o7I] : null;
                 };
                 B7I.getDayProps = function(e3I) {
                     var E3I = G7I ? new Date(G7I.getFullYear(), G7I.getMonth(), G7I.getDate()) : null,
                         N3I = Y7I ? new Date(Y7I.getFullYear(), Y7I.getMonth(), Y7I.getDate()) : null;
                     return {
                         selected: E3I && N3I && e3I >= E3I && e3I <= Y7I,
                         cssClass: ((z7I || !f7I) && E3I && E3I.getTime() === e3I.getTime() || (z7I || f7I) && N3I && N3I.getTime() === e3I.getTime() ? H7I : '') + (E3I && E3I.getTime() === e3I.getTime() ? ' mbsc-cal-sel-start' : '') + (N3I && N3I.getTime() === e3I.getTime() ? ' mbsc-cal-sel-end' : '')
                     };
                 };
                 B7I.setActiveDate = function(Q3I) {
                     var j3I;
                     f7I = Q3I == 'start' ? 0 : 1;
                     j3I = Q3I == 'start' ? G7I : Y7I;
                     if (B7I.isVisible()) {
                         t7I();
                         if (!z7I) {
                             q8I('.mbsc-cal-table .mbsc-cal-day-hl', y7I).removeClass(H7I);
                             if (j3I) {
                                 q8I('.mbsc-cal-day[data-full="' + j3I.getFullYear() + '-' + j3I.getMonth() + '-' + j3I.getDate() + '"]', y7I).addClass(H7I);
                             }
                         }
                         if (j3I) {
                             e7I = true;
                             B7I.setDate(j3I, false, 1000, true);
                         }
                     }
                 };
                 B7I.getValue = B7I.getVal;
                 q8I.extend(r7I, {
                     highlight: false,
                     outerMonthChange: false,
                     formatValue: function() {
                         return E7I + (p7I.endInput ? '' : d7I ? ' - ' + d7I : '');
                     },
                     parseValue: function(w3I) {
                         var k3I = w3I ? w3I.split(' - ') : [];
                         p7I.defaultValue = N7I[1];
                         if (p7I.endInput) {
                             o7I = q8I(p7I.endInput).val() ? S8I.parseDate(K7I, q8I(p7I.endInput).val(), p7I) : N7I[1];
                         } else {
                             o7I = k3I[1] ? S8I.parseDate(K7I, k3I[1], p7I) : N7I[1];
                         }
                         p7I.defaultValue = N7I[0];
                         if (p7I.startInput) {
                             h7I = q8I(p7I.startInput).val() ? S8I.parseDate(K7I, q8I(p7I.startInput).val(), p7I) : N7I[0];
                         } else {
                             h7I = k3I[0] ? S8I.parseDate(K7I, k3I[0], p7I) : N7I[0];
                         }
                         p7I.defaultValue = N7I[f7I];
                         E7I = h7I ? S8I.formatDate(K7I, h7I, p7I) : '';
                         d7I = o7I ? S8I.formatDate(K7I, o7I, p7I) : '';
                         B7I._startDate = h7I;
                         B7I._endDate = o7I;
                         return Q7I.parseValue(f7I ? d7I : E7I, B7I);
                     },
                     onFill: function(H3I) {
                         m7I(H3I.change);
                     },
                     onBeforeClose: function(l3I) {
                         if (l3I.button === 'set' && !n7I(true, true)) {
                             B7I.setActiveDate(f7I ? 'start' : 'end');
                             return false;
                         }
                     },
                     onHide: function() {
                         Q7I.onHide.call(B7I);
                         f7I = 0;
                         y7I = null;
                         p7I.anchor = c7I;
                     },
                     onClear: function() {
                         if (z7I) {
                             f7I = 0;
                         }
                     },
                     onBeforeShow: function() {
                         p7I.headerText = false;
                         G7I = h7I;
                         Y7I = o7I;
                         w7I = L7I(G7I, 0);
                         u7I = L7I(Y7I, 1);
                         if (p7I.counter) {
                             p7I.headerText = function() {
                                 var u3I = x7I();
                                 return (u3I > 1 ? p7I.selectedPluralText || p7I.selectedText : p7I.selectedText).replace(/{count}/, u3I);
                             };
                         }
                         k7I = true;
                     },
                     onMarkupReady: function(A3I) {
                         var c3I;
                         if (G7I) {
                             e7I = true;
                             B7I.setDate(G7I, false, 0, true);
                             G7I = B7I.getDate(true);
                         }
                         if (Y7I) {
                             e7I = true;
                             B7I.setDate(Y7I, false, 0, true);
                             Y7I = B7I.getDate(true);
                         }
                         if (f7I && Y7I || !f7I && G7I) {
                             e7I = true;
                             B7I.setDate(f7I ? Y7I : G7I, false, 0, true);
                         }
                         I7I();
                         Q7I.onMarkupReady.call(this, A3I);
                         y7I = q8I(A3I.target);
                         y7I.addClass('mbsc-range');
                         if (M7I) {
                             c3I = '<div class="mbsc-range-btn-t" role="radiogroup">' + '<div class="mbsc-range-btn-c mbsc-range-btn-start"><div role="radio" class="mbsc-fr-btn-e mbsc-fr-btn-nhl mbsc-range-btn">' + p7I.fromText + '<div class="mbsc-range-btn-v mbsc-range-btn-v-start">' + (E7I || '&nbsp;') + '</div></div></div>' + '<div class="mbsc-range-btn-c mbsc-range-btn-end"><div role="radio" class="mbsc-fr-btn-e mbsc-fr-btn-nhl mbsc-range-btn">' + p7I.toText + '<div class="mbsc-range-btn-v mbsc-range-btn-v-end">' + (d7I || '&nbsp;') + '</div></div></div>' + '</div>';
                             q8I('.mbsc-cal-tabs', y7I).before(c3I);
                             t7I();
                         }
                         q8I('.mbsc-range-btn-c', y7I).on('touchstart click', function(L3I) {
                             if (a7I(L3I, this)) {
                                 B7I.showMonthView();
                                 B7I.setActiveDate(q8I(this).index() ? 'end' : 'start');
                             }
                         });
                     },
                     onDayChange: function(r3I) {
                         r3I.active = f7I ? 'end' : 'start';
                         j7I = true;
                     },
                     onSetDate: function(t3I) {
                         var M3I = t3I.date,
                             T3I = B7I.order;
                         if (!e7I) {
                             if (T3I.h === D7I) {
                                 M3I.setHours(f7I ? 23 : 0);
                             }
                             if (T3I.i === D7I) {
                                 M3I.setMinutes(f7I ? 59 : 0);
                             }
                             if (T3I.s === D7I) {
                                 M3I.setSeconds(f7I ? 59 : 0);
                             }
                             M3I.setMilliseconds(f7I ? 999 : 0);
                             if (!k7I || j7I) {
                                 if (z7I && j7I) {
                                     if (f7I == 1 && M3I < G7I) {
                                         f7I = 0;
                                     }
                                     if (f7I) {
                                         M3I.setHours(u7I.h, u7I.i, u7I.s, 999);
                                     } else {
                                         M3I.setHours(w7I.h, w7I.i, w7I.s, 0);
                                     }
                                 }
                                 if (f7I) {
                                     Y7I = new Date(M3I);
                                     u7I = L7I(Y7I);
                                 } else {
                                     G7I = new Date(M3I);
                                     w7I = L7I(G7I);
                                 }
                                 if (Z7I) {
                                     P7I(G7I, M3I);
                                     P7I(Y7I, M3I);
                                 }
                                 if (z7I && j7I && !f7I) {
                                     Y7I = null;
                                 }
                             }
                         }
                         B7I._isValid = n7I(k7I || j7I || p7I.autoCorrect, !e7I);
                         t3I.active = f7I ? 'end' : 'start';
                         if (!e7I && z7I) {
                             if (j7I) {
                                 f7I = f7I ? 0 : 1;
                             }
                             t7I();
                         }
                         if (B7I.isVisible()) {
                             if (B7I._isValid) {
                                 q8I('.mbsc-fr-btn-s .mbsc-fr-btn', B7I._markup).removeClass(T7I);
                             } else {
                                 q8I('.mbsc-fr-btn-s .mbsc-fr-btn', B7I._markup).addClass(T7I);
                             }
                         }
                         j7I = false;
                         k7I = false;
                         e7I = false;
                     },
                     onTabChange: function(n3I) {
                         if (n3I.tab != 'calendar') {
                             B7I.setDate(f7I ? Y7I : G7I, false, 1000, true);
                         }
                         n7I(true, true);
                     },
                     onDestroy: function() {
                         q8I(p7I.startInput).prop('readonly', F7I);
                         q8I(p7I.endInput).prop('readonly', X7I);
                     }
                 });
                 return r7I;
             };
         }());
         (function(P3I) {
             var X3I = L9s,
                 V3I = X3I.$,
                 F3I = {
                     inputClass: '',
                     values: 5,
                     order: 'desc',
                     style: 'icon',
                     invalid: [],
                     icon: {
                         filled: 'star3',
                         empty: 'star3'
                     }
                 };
             X3I.presetShort('rating');
             X3I.presets.scroller.rating = function(R3I) {
                 var Y9I = V3I.extend({}, R3I.settings),
                     Z3I = V3I.extend(R3I.settings, F3I, Y9I),
                     i3I = V3I(this),
                     D9I = this.id + '_dummy',
                     s9I = V3I('label[for="' + this.id + '"]').attr('for', D9I),
                     f9I = Z3I.label !== P3I ? Z3I.label : s9I.length ? s9I.text() : i3I.attr('name'),
                     q3I = Z3I.defaultValue,
                     a9I = [
                         []
                     ],
                     p9I = {
                         data: [],
                         label: f9I,
                         circular: false
                     },
                     U3I = {},
                     x3I = [],
                     m3I, g3I = false,
                     I3I, v3I, W3I, b9I, J9I, B9I, O3I, S3I, G9I, C3I = Z3I.style === 'grade' ? 'circle' : 'icon';
                 if (i3I.is('select')) {
                     Z3I.values = {};
                     V3I('option', i3I).each(function() {
                         Z3I.values[V3I(this).val()] = V3I(this).text();
                     });
                     V3I('#' + D9I).remove();
                 }
                 if (V3I.isArray(Z3I.values)) {
                     for (I3I = 0; I3I < Z3I.values.length; I3I++) {
                         O3I = +Z3I.values[I3I];
                         if (isNaN(O3I)) {
                             O3I = I3I + 1;
                             g3I = true;
                         }
                         x3I.push({
                             order: O3I,
                             key: Z3I.values[I3I],
                             value: Z3I.values[I3I]
                         });
                     }
                 } else if (V3I.isPlainObject(Z3I.values)) {
                     I3I = 1;
                     g3I = true;
                     for (S3I in Z3I.values) {
                         O3I = +S3I;
                         if (isNaN(O3I)) {
                             O3I = I3I;
                         }
                         x3I.push({
                             order: O3I,
                             key: S3I,
                             value: Z3I.values[S3I]
                         });
                         I3I++;
                     }
                 } else {
                     for (I3I = 1; I3I <= Z3I.values; I3I++) {
                         x3I.push({
                             order: I3I,
                             key: I3I,
                             value: I3I
                         });
                     }
                 }
                 if (Z3I.showText === P3I && g3I) {
                     Z3I.showText = true;
                 }
                 if (Z3I.icon.empty === P3I) {
                     Z3I.icon.empty = Z3I.icon.filled;
                 }
                 x3I.sort(function(y9I, z9I) {
                     return Z3I.order == 'desc' ? z9I.order - y9I.order : y9I.order - z9I.order;
                 });
                 G9I = Z3I.order == 'desc' ? x3I[0].order : x3I[x3I.length - 1].order;
                 for (I3I = 0; I3I < x3I.length; I3I++) {
                     B9I = x3I[I3I].order;
                     b9I = x3I[I3I].key;
                     J9I = x3I[I3I].value;
                     W3I = '';
                     for (v3I = 1; v3I < B9I + 1; v3I++) {
                         W3I += '<span class="mbsc-rating-' + C3I + (C3I === 'circle' ? '' : ' mbsc-ic mbsc-ic-' + Z3I.icon.filled) + ' ">' + (C3I == 'circle' ? v3I : ' ') + '</span>';
                     }
                     for (v3I = B9I + 1; v3I <= G9I; v3I++) {
                         W3I += '<span class="mbsc-rating-' + C3I + (C3I === 'circle' ? ' mbsc-rating-circle-unf' : ' mbsc-ic mbsc-ic-' + (Z3I.icon.empty ? Z3I.icon.empty + ' mbsc-rating-icon-unf' : '') + (Z3I.icon.empty === Z3I.icon.filled ? ' mbsc-rating-icon-same' : '')) + '"></span>';
                     }
                     if (q3I === P3I) {
                         q3I = b9I;
                     }
                     W3I += Z3I.showText ? '<span class="mbsc-rating-txt">' + J9I + '</span>' : '';
                     p9I.data.push({
                         value: b9I,
                         display: W3I,
                         label: J9I
                     });
                     U3I[b9I] = J9I;
                 }
                 if (i3I.is('select')) {
                     m3I = V3I('<input type="text" id="' + D9I + '" value="' + U3I[i3I.val()] + '" class="' + Z3I.inputClass + '" placeholder="' + (Z3I.placeholder || '') + '" readonly />').insertBefore(i3I);
                 }
                 a9I[0].push(p9I);
                 if (m3I) {
                     R3I.attachShow(m3I);
                 }
                 if (i3I.is('select')) {
                     i3I.hide().closest('.ui-field-contain').trigger('create');
                 }
                 R3I.getVal = function(h9I) {
                     var K9I = R3I._hasValue ? R3I[h9I ? '_tempWheelArray' : '_wheelArray'][0] : null;
                     return X3I.util.isNumeric(K9I) ? +K9I : K9I;
                 };
                 return {
                     anchor: m3I,
                     wheels: a9I,
                     headerText: false,
                     compClass: 'mbsc-rating',
                     setOnTap: true,
                     formatValue: function(o9I) {
                         return U3I[o9I[0]];
                     },
                     parseValue: function(E9I) {
                         var d9I;
                         for (d9I in U3I) {
                             if (m3I && d9I == E9I || !m3I && U3I[d9I] == E9I) {
                                 return [d9I];
                             }
                         }
                         return [q3I];
                     },
                     validate: function() {
                         return {
                             disabled: [Z3I.invalid]
                         };
                     },
                     onFill: function(e9I) {
                         if (m3I) {
                             m3I.val(e9I.valueText);
                             i3I.val(R3I._tempWheelArray[0]);
                         }
                     },
                     onDestroy: function() {
                         if (m3I) {
                             m3I.remove();
                         }
                         i3I.show();
                     }
                 };
             };
         }());
         (function(w9I) {
             function k9I(r9I, M9I) {
                 var L9I = new XMLHttpRequest();
                 L9I.open('GET', r9I, true);
                 L9I.onload = function() {
                     if (this.status >= 200 && this.status < 400) {
                         M9I(JSON.parse(this.response));
                     }
                 };
                 L9I.onerror = function() {};
                 L9I.send();
             }

             function Q9I(u9I, A9I) {
                 var H9I = document.createElement('script'),
                     l9I = 'mbscjsonp' + ++j9I;
                 window[l9I] = function(c9I) {
                     H9I.parentNode.removeChild(H9I);
                     delete window[l9I];
                     if (!c9I) {
                         return;
                     }
                     A9I(c9I);
                 };
                 H9I.src = u9I + (u9I.indexOf('?') >= 0 ? '&' : '?') + 'callback=' + l9I;
                 document.body.appendChild(H9I);
             }
             var N9I = L9s,
                 j9I = 0;
             N9I.util.getJson = function(T9I, t9I, n9I) {
                 if (n9I == 'jsonp') {
                     Q9I(T9I, t9I);
                 } else {
                     k9I(T9I, t9I);
                 }
             };
         }());
         var n9s = L9s.util.getJson;
         (function(X9I) {
             var F9I = L9s,
                 V9I = F9I.$,
                 P9I = F9I.util,
                 Z9I = P9I.isString,
                 I9I = {
                     inputClass: '',
                     invalid: [],
                     rtl: false,
                     showInput: true,
                     groupLabel: 'Groups',
                     dataHtml: 'html',
                     dataText: 'text',
                     dataValue: 'value',
                     dataGroup: 'group',
                     dataDisabled: 'disabled',
                     filterPlaceholderText: 'Type to filter',
                     filterEmptyText: 'No results',
                     filterClearIcon: 'material-close'
                 };
             F9I.presetShort('select');
             F9I.presets.scroller.select = function(i9I) {
                 function t6B(M1B) {
                     var r1B = {};
                     Q6B(M1B);
                     x9I.wheels = T6B();
                     d6B(R9I);
                     r1B[m9I] = k6B();
                     i9I._tempWheelArray[m9I] = R9I;
                     if (W9I) {
                         r1B[U9I] = r6B();
                         i9I._tempWheelArray[U9I] = S9I;
                     }
                     if (i9I._isVisible) {
                         i9I.changeWheel(r1B, 0, true);
                     }
                 }

                 function n6B(L1B) {
                     return x9I.data.dataField ? L1B[x9I.data.dataField] : x9I.data.processResponse ? x9I.data.processResponse(L1B) : L1B;
                 }

                 function H6B(c1B, A1B) {
                     A1B = A1B.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
                     return c1B.match(new RegExp(A1B, 'ig'));
                 }

                 function P6B() {
                     var u1B = {};
                     u1B[m9I] = k6B();
                     h6B = true;
                     i9I.changeWheel(u1B);
                 }

                 function X6B() {
                     var H1B = i9I.getVal(),
                         l1B = i9I._tempValue;
                     if (!(x9I.filter && x9I.display == 'inline')) {
                         q9I.val(l1B);
                     }
                     O9I.val(H1B);
                 }

                 function F6B(w1B) {
                     var j1B, Q1B, k1B = [];
                     if (J6B) {
                         for (j1B in i9I._tempSelected[m9I]) {
                             k1B.push(e6B[j1B] || (v9I[j1B] ? v9I[j1B].text : ''));
                         }
                         return k1B.join(', ');
                     }
                     Q1B = w1B[m9I];
                     return v9I[Q1B] ? v9I[Q1B].text : '';
                 }

                 function Z6B(e1B, N1B) {
                     var E1B = e1B ? i9I._tempWheelArray : i9I._hasValue ? i9I._wheelArray : null;
                     return E1B ? x9I.group && N1B ? E1B : E1B[m9I] : null;
                 }

                 function d6B(d1B) {
                     if (g9I) {
                         if (d1B && Z9I(d1B)) {
                             d1B = d1B.split(',');
                         }
                         if (V9I.isArray(d1B)) {
                             d1B = d1B[0];
                         }
                     }
                     R9I = d1B === X9I || d1B === null || d1B === '' || !v9I[d1B] ? A6B : d1B;
                     if (W9I) {
                         S9I = v9I[R9I] ? v9I[R9I].group : null;
                     }
                 }

                 function T6B() {
                     var h1B, o1B, K1B = [
                         []
                     ];
                     if (W9I) {
                         h1B = r6B();
                         if (j6B) {
                             K1B[0][U9I] = h1B;
                         } else {
                             K1B[U9I] = [h1B];
                         }
                     }
                     o1B = k6B();
                     if (j6B) {
                         K1B[0][m9I] = o1B;
                     } else {
                         K1B[m9I] = [o1B];
                     }

                     return K1B;
                 }

                 function k6B() {
                     return L6B(p6B ? D6B[S9I].options : C9I, J6B, u6B);
                 }

                 function r6B() {
                     return L6B(o6B, false, x9I.groupLabel);
                 }

                 function L6B(f1B, y1B, z1B) {
                     var Y1B, G1B = [];
                     for (Y1B = 0; Y1B < f1B.length; Y1B++) {
                         G1B.push({
                             value: f1B[Y1B].value,
                             display: f1B[Y1B].html || f1B[Y1B].text,
                             cssClass: f1B[Y1B].cssClass
                         });
                     }
                     return {
                         circular: false,
                         multiple: y1B,
                         data: G1B,
                         label: z1B
                     };
                 }

                 function Q6B(O6B) {
                     var i6B, q6B, m6B, I6B, W6B, x6B, C6B = 0,
                         v6B = 0,
                         R6B = {};
                     v9I = {};
                     D6B = {};
                     C9I = [];
                     o6B = [];
                     a6B.length = 0;
                     if (z6B) {
                         V9I.each(K6B, function(g6B, S6B) {
                             W6B = S6B[x9I.dataText];
                             q6B = S6B[x9I.dataHtml];
                             x6B = S6B[x9I.dataValue];
                             m6B = S6B[x9I.dataGroup];
                             I6B = {
                                 value: x6B,
                                 html: q6B,
                                 text: W6B,
                                 index: g6B
                             };
                             v9I[x6B] = I6B;
                             if (!O6B || H6B(W6B, O6B)) {
                                 C9I.push(I6B);
                                 if (B6B) {
                                     if (R6B[m6B] === X9I) {
                                         i6B = {
                                             text: m6B,
                                             value: v6B,
                                             options: [],
                                             index: v6B
                                         };
                                         D6B[v6B] = i6B;
                                         R6B[m6B] = v6B;
                                         o6B.push(i6B);
                                         v6B++;
                                     } else {
                                         i6B = D6B[R6B[m6B]];
                                     }
                                     if (p6B) {
                                         I6B.index = i6B.options.length;
                                     }
                                     I6B.group = R6B[m6B];
                                     i6B.options.push(I6B);
                                 }
                                 if (S6B[x9I.dataDisabled]) {
                                     a6B.push(x6B);
                                 }
                             }
                         });
                     } else {
                         if (B6B) {
                             var U6B = true;
                             V9I('optgroup', O9I).each(function(D1B) {
                                 D6B[D1B] = {
                                     text: this.label,
                                     value: D1B,
                                     options: [],
                                     index: D1B
                                 };
                                 U6B = true;
                                 V9I('option', this).each(function(b1B) {
                                     I6B = {
                                         value: this.value,
                                         text: this.text,
                                         index: p6B ? b1B : C6B++,
                                         group: D1B
                                     };
                                     v9I[this.value] = I6B;
                                     if (!O6B || H6B(this.text, O6B)) {
                                         if (U6B) {
                                             o6B.push(D6B[D1B]);
                                             U6B = false;
                                         }
                                         C9I.push(I6B);
                                         D6B[D1B].options.push(I6B);
                                         if (this.disabled) {
                                             a6B.push(this.value);
                                         }
                                     }
                                 });
                             });
                         } else {
                             V9I('option', O9I).each(function(J1B) {
                                 I6B = {
                                     value: this.value,
                                     text: this.text,
                                     index: J1B
                                 };
                                 v9I[this.value] = I6B;
                                 if (!O6B || H6B(this.text, O6B)) {
                                     C9I.push(I6B);
                                     if (this.disabled) {
                                         a6B.push(this.value);
                                     }
                                 }
                             });
                         }
                     }
                     if (C9I.length) {
                         A6B = C9I[0].value;
                     }
                     if (l6B) {
                         C9I = [];
                         C6B = 0;
                         V9I.each(D6B, function(s1B, a1B) {
                             if (a1B.options.length) {
                                 x6B = '__group' + s1B;
                                 I6B = {
                                     text: a1B.text,
                                     value: x6B,
                                     group: s1B,
                                     index: C6B++,
                                     cssClass: 'mbsc-sel-gr'
                                 };
                                 v9I[x6B] = I6B;
                                 C9I.push(I6B);
                                 a6B.push(I6B.value);
                                 V9I.each(a1B.options, function(B1B, p1B) {
                                     p1B.index = C6B++;
                                     C9I.push(p1B);
                                 });
                             }
                         });
                     }
                     if (f6B) {
                         if (C9I.length) {
                             f6B.removeClass('mbsc-sel-empty-v');
                         } else {
                             f6B.addClass('mbsc-sel-empty-v');
                         }
                     }
                 }
                 var q9I, K6B, A6B, c6B, b6B, S9I, o6B, D6B, U9I, G6B, R9I, C9I, m9I, h6B, e6B = {},
                     w6B = 1000,
                     O9I = V9I(this),
                     V6B = V9I.extend({}, i9I.settings),
                     x9I = V9I.extend(i9I.settings, I9I, V6B),
                     f6B = V9I('<div class="mbsc-sel-empty">' + x9I.filterEmptyText + '</div>'),
                     M6B = x9I.readonly,
                     v9I = {},
                     N6B = x9I.layout || (/top|bottom|inline/.test(x9I.display) || x9I.filter ? 'liquid' : ''),
                     j6B = N6B == 'liquid',
                     g9I = P9I.isNumeric(x9I.select) ? x9I.select : x9I.select == 'multiple' || O9I.prop('multiple'),
                     J6B = g9I || (x9I.filter ? 1 : false),
                     y6B = this.id + '_dummy',
                     E6B = V9I('label[for="' + this.id + '"]').attr('for', y6B),
                     u6B = x9I.label !== X9I ? x9I.label : E6B.length ? E6B.text() : O9I.attr('name'),
                     z6B = !!x9I.data,
                     B6B = z6B ? !!x9I.group : V9I('optgroup', O9I).length,
                     s6B = x9I.group,
                     W9I = B6B && s6B && s6B.groupWheel !== false,
                     p6B = B6B && s6B && W9I && s6B.clustered === true,
                     l6B = B6B && (!s6B || s6B.header !== false && !p6B),
                     Y6B = O9I.val() || (g9I ? [] : ['']),
                     a6B = [];
                 i9I.setVal = function(T1B, n1B, V1B, t1B, X1B) {
                     if (J6B) {
                         if (T1B && !g9I) {
                             T1B = [T1B];
                         }
                         if (T1B && Z9I(T1B)) {
                             T1B = T1B.split(',');
                         }
                         i9I._tempSelected[m9I] = P9I.arrayToObject(T1B);
                         if (!t1B) {
                             i9I._selected[m9I] = P9I.arrayToObject(T1B);
                         }
                         T1B = T1B ? T1B[0] : null;
                     }
                     i9I._setVal(T1B, n1B, V1B, t1B, X1B);
                 };
                 i9I.getVal = function(F1B, Z1B) {
                     if (J6B) {
                         var P1B = P9I.objectToArray(F1B ? i9I._tempSelected[m9I] : i9I._selected[m9I]);
                         return g9I ? P1B : P1B.length ? P1B[0] : null;
                     }
                     return Z6B(F1B, Z1B);
                 };
                 i9I.refresh = function(I1B, x1B) {
                     if (I1B) {
                         K6B = I1B;
                     }
                     if (!I1B && G6B && x1B === X9I) {
                         n9s(x9I.data.url, function(i1B) {
                             K6B = n6B(i1B);
                             t6B();
                         }, x9I.data.dataType);
                     } else {
                         t6B(x1B);
                     }
                 };
                 if (!x9I.invalid.length) {
                     x9I.invalid = a6B;
                 }
                 if (W9I) {
                     U9I = 0;
                     m9I = 1;
                 } else {
                     U9I = -1;
                     m9I = 0;
                 }
                 if (J6B) {
                     if (g9I) {
                         O9I.prop('multiple', true);
                     }
                     if (Y6B && Z9I(Y6B)) {
                         Y6B = Y6B.split(',');
                     }
                     i9I._selected[m9I] = P9I.arrayToObject(Y6B);
                 }
                 if (i9I._dummyInput) {
                     i9I._dummyInput.remove();
                 }
                 if (O9I.next().is('input.mbsc-control')) {
                     q9I = O9I.off('.mbsc-form').next().removeAttr('tabindex');
                 } else {
                     if (x9I.filter && x9I.display == 'inline') {
                         i9I._dummyInput = V9I('<div class="mbsc-sel-input-wrap"><input type="text" id="' + y6B + '" class="mbsc-control mbsc-control-ev ' + x9I.inputClass + '" readonly /></div>');
                     } else {
                         q9I = V9I('<input type="text" id="' + y6B + '" class="mbsc-control mbsc-control-ev ' + x9I.inputClass + '" readonly />');
                         i9I._dummyInput = q9I;
                     }
                     if (x9I.showInput) {
                         i9I._dummyInput.insertBefore(O9I);
                         if (!q9I) {
                             q9I = i9I._dummyInput.find('#' + y6B);
                         }
                     }
                 }
                 i9I.attachShow(q9I.attr('placeholder', x9I.placeholder || ''));
                 O9I.addClass('mbsc-sel-hdn').attr('tabindex', -1);
                 if (x9I.filter) {
                     c6B = x9I.filter.minLength || 0;
                 }
                 G6B = x9I.data && x9I.data.url;
                 if (G6B) {
                     i9I.refresh();
                 } else {
                     if (z6B) {
                         K6B = x9I.data;
                     }
                     Q6B();
                     d6B(O9I.val());
                 }
                 return {
                     layout: N6B,
                     headerText: false,
                     anchor: q9I,
                     compClass: 'mbsc-sel' + (W9I ? ' mbsc-sel-gr-whl' : '') + (J6B ? ' mbsc-sel-multi' : ''),
                     setOnTap: W9I ? [false, true] : true,
                     formatValue: F6B,
                     parseValue: function(m1B) {
                         d6B(m1B === X9I ? O9I.val() : m1B);
                         return W9I ? [S9I, R9I] : [R9I];
                     },
                     validate: function(R1B) {
                         var v1B = R1B.index,
                             O1B = [];
                         O1B[m9I] = x9I.invalid;
                         if (p6B && !h6B && v1B === X9I) {
                             P6B();
                         }
                         h6B = false;
                         return {
                             disabled: O1B
                         };
                     },
                     onRead: X6B,
                     onFill: X6B,
                     onMarkupReady: function(D5B, W1B) {
                         if (x9I.filter) {
                             var q1B, g1B, C1B, S1B = V9I('.mbsc-fr-w', D5B.target),
                                 U1B = V9I('<span class="mbsc-sel-filter-clear mbsc-ic mbsc-ic-' + x9I.filterClearIcon + '"></span>');
                             if (x9I.display == 'inline') {
                                 q1B = q9I;
                                 q9I.parent().find('.mbsc-sel-filter-clear').remove();
                             } else {
                                 S1B.prepend('<div class="mbsc-input mbsc-sel-filter-cont mbsc-control-w"><span class="mbsc-input-wrap"><input type="text" class="mbsc-sel-filter-input mbsc-control mbsc-control-ev"/></span></div>');
                                 q1B = S1B.find('.mbsc-sel-filter-input');
                             }
                             b6B = '';
                             C1B = q1B[0];
                             q1B.prop('readonly', false).attr('placeholder', x9I.filterPlaceholderText).parent().append(U1B);
                             S1B.find('.mbsc-fr-c').prepend(f6B);
                             W1B.tap(U1B, function() {
                                 C1B.value = '';
                                 W1B.refresh();
                                 U1B.removeClass('mbsc-sel-filter-show-clear');
                             });
                             q1B.on('keydown', function(b5B) {
                                 if (b5B.keyCode == 13 || b5B.keyCode == 27) {
                                     b5B.stopPropagation();
                                     C1B.blur();
                                 }
                             }).on('keyup', function() {
                                 clearTimeout(g1B);
                                 if (C1B.value.length) {
                                     U1B.addClass('mbsc-sel-filter-show-clear');
                                 } else {
                                     U1B.removeClass('mbsc-sel-filter-show-clear');
                                 }
                                 g1B = setTimeout(function() {
                                     if (b6B === C1B.value || W1B.trigger('onFilter', {
                                             filterText: C1B.value
                                         }) === false) {
                                         return;
                                     }
                                     b6B = C1B.value;
                                     if (b6B.length >= c6B || !b6B.length) {
                                         if (G6B && x9I.data.remoteFilter) {
                                             n9s(x9I.data.url + encodeURIComponent(b6B), function(J5B) {
                                                 W1B.refresh(n6B(J5B));
                                             }, x9I.data.dataType);
                                         } else {
                                             W1B.refresh(X9I, b6B);
                                         }
                                     }
                                 }, 500);
                             });
                         }
                     },
                     onBeforeShow: function() {
                         if (g9I && x9I.counter) {
                             x9I.headerText = function() {
                                 var a5B = 0;
                                 V9I.each(i9I._tempSelected[m9I], function() {
                                     a5B++;
                                 });
                                 return (a5B > 1 ? x9I.selectedPluralText || x9I.selectedText : x9I.selectedText).replace(/{count}/, a5B);
                             };
                         }
                         d6B(O9I.val());
                         if (x9I.filter) {
                             Q6B(X9I);
                         }
                         i9I.settings.wheels = T6B();
                         h6B = true;
                     },
                     onWheelGestureStart: function(s5B) {
                         if (s5B.index == U9I) {
                             x9I.readonly = [false, true];
                         }
                     },
                     onWheelAnimationEnd: function(B5B) {
                         var p5B = i9I.getArrayVal(true);
                         if (B5B.index == U9I) {
                             x9I.readonly = M6B;
                             if (p5B[U9I] != S9I) {
                                 S9I = p5B[U9I];
                                 R9I = D6B[S9I].options[0].value;
                                 p5B[m9I] = R9I;
                                 if (p6B) {
                                     P6B();
                                 } else {
                                     i9I.setArrayVal(p5B, false, false, true, w6B);
                                 }
                             }
                         } else if (B5B.index == m9I && p5B[m9I] != R9I) {
                             R9I = p5B[m9I];
                             if (W9I && R9I && v9I[R9I].group != S9I) {
                                 S9I = v9I[R9I].group;
                                 p5B[U9I] = S9I;
                                 i9I.setArrayVal(p5B, false, false, true, w6B);
                             }
                         }
                     },
                     onItemTap: function(Y5B) {
                         if (Y5B.index == m9I) {
                             e6B[Y5B.value] = v9I[Y5B.value].text;
                             if (J6B && !g9I && Y5B.selected) {
                                 return false;
                             }
                         }
                     },
                     onClose: function() {
                         if (G6B && x9I.data.remoteFilter && b6B) {
                             i9I.refresh();
                         }
                     },
                     onDestroy: function() {
                         if (i9I._dummyInput) {
                             i9I._dummyInput.remove();
                         }
                         O9I.removeClass('mbsc-sel-hdn').removeAttr('tabindex');
                     }
                 };
             };
         }());
         (function(y5B) {
             var G5B = L9s,
                 f5B = G5B.$,
                 z5B = {
                     autostart: false,
                     step: 1,
                     useShortLabels: false,
                     labels: ['Years', 'Months', 'Days', 'Hours', 'Minutes', 'Seconds', ''],
                     labelsShort: ['Yrs', 'Mths', 'Days', 'Hrs', 'Mins', 'Secs', ''],
                     startText: 'Start',
                     stopText: 'Stop',
                     resetText: 'Reset',
                     lapText: 'Lap',
                     hideText: 'Hide'
                 };
             G5B.presetShort('timer');
             G5B.presets.scroller.timer = function(K5B) {
                 function x5B() {
                     if (w5B) {
                         f5B('.mbsc-fr-w', E5B).addClass('mbsc-timer-running mbsc-timer-locked');
                         f5B('.mbsc-timer-btn-toggle-c > div', E5B).text(h5B.stopText);
                         if (K5B.buttons.start.icon) {
                             f5B('.mbsc-timer-btn-toggle-c > div', E5B).removeClass('mbsc-ic-' + K5B.buttons.start.icon);
                         }
                         if (K5B.buttons.stop.icon) {
                             f5B('.mbsc-timer-btn-toggle-c > div', E5B).addClass('mbsc-ic-' + K5B.buttons.stop.icon);
                         }
                         if (h5B.mode == 'stopwatch') {
                             f5B('.mbsc-timer-btn-resetlap-c > div', E5B).text(h5B.lapText);
                             if (K5B.buttons.reset.icon) {
                                 f5B('.mbsc-timer-btn-resetlap-c > div', E5B).removeClass('mbsc-ic-' + K5B.buttons.reset.icon);
                             }
                             if (K5B.buttons.lap.icon) {
                                 f5B('.mbsc-timer-btn-resetlap-c > div', E5B).addClass('mbsc-ic-' + K5B.buttons.lap.icon);
                             }
                         }
                     } else {
                         f5B('.mbsc-fr-w', E5B).removeClass('mbsc-timer-running');
                         f5B('.mbsc-timer-btn-toggle-c > div', E5B).text(h5B.startText);
                         if (K5B.buttons.start.icon) {
                             f5B('.mbsc-timer-btn-toggle-c > div', E5B).addClass('mbsc-ic-' + K5B.buttons.start.icon);
                         }
                         if (K5B.buttons.stop.icon) {
                             f5B('.mbsc-timer-btn-toggle-c > div', E5B).removeClass('mbsc-ic-' + K5B.buttons.stop.icon);
                         }
                         if (h5B.mode == 'stopwatch') {
                             f5B('.mbsc-timer-btn-resetlap-c > div', E5B).text(h5B.resetText);
                             if (K5B.buttons.reset.icon) {
                                 f5B('.mbsc-timer-btn-resetlap-c > div', E5B).addClass('mbsc-ic-' + K5B.buttons.reset.icon);
                             }
                             if (K5B.buttons.lap.icon) {
                                 f5B('.mbsc-timer-btn-resetlap-c > div', E5B).removeClass('mbsc-ic-' + K5B.buttons.lap.icon);
                             }
                         }
                     }
                 }

                 function i5B(L2B) {
                     if (F5B) {
                         d5B = Q5B - new Date();
                         if (d5B < 0) {
                             d5B *= -1;
                             j5B = true;
                         } else {
                             j5B = false;
                         }
                         o5B = 0;
                         L5B = true;
                     } else if (Q5B !== y5B) {
                         L5B = false;
                         d5B = Q5B * 1000;
                         j5B = h5B.mode != 'countdown';
                         if (L2B) {
                             o5B = 0;
                         }
                     } else {
                         d5B = 0;
                         j5B = h5B.mode != 'countdown';
                         L5B = j5B;
                         if (L2B) {
                             o5B = 0;
                         }
                     }
                 }

                 function A5B(u2B) {
                     var w2B = [],
                         H2B, l2B = W5B(u2B);
                     f5B(N5B).each(function(c2B, A2B) {
                         if (l5B[A2B]) {
                             H2B = Math.max(Math.round(t5B / e5B[A2B].limit), 1);
                             w2B.push(Math.round(l2B[A2B] / H2B) * H2B);
                         }
                     });
                     return w2B;
                 }

                 function R5B(j2B, Q2B, k2B) {
                     return (Q2B || '') + (j2B < 10 ? '0' : '') + j2B + '<span class="mbsc-timer-lbl">' + k2B + '</span>';
                 }

                 function U5B(z2B) {
                     var K2B = 1,
                         G2B = e5B[z2B],
                         y2B = G2B.wheel,
                         h2B = G2B.prefix,
                         d2B = 0,
                         E2B = G2B.until,
                         o2B = e5B[N5B[f5B.inArray(z2B, N5B) - 1]];
                     if (G2B.index <= e5B[k5B].index && (!o2B || o2B.limit > t5B)) {
                         if (!l5B[z2B]) {
                             m5B[0].push(y2B);
                         }
                         l5B[z2B] = 1;
                         y2B.data = [];
                         y2B.label = G2B.label || '';
                         y2B.cssClass = 'mbsc-timer-whl-' + z2B;
                         if (t5B >= G2B.limit) {
                             K2B = Math.max(Math.round(t5B / G2B.limit), 1);
                             M5B = K2B * G2B.limit;
                         }
                         if (z2B == k5B) {
                             y2B.min = 0;
                             y2B.data = function(e2B) {
                                 return {
                                     value: e2B,
                                     display: R5B(e2B, h2B, G2B.label)
                                 };
                             };
                             y2B.getIndex = function(N2B) {
                                 return N2B;
                             };
                         } else {
                             for (n5B = d2B; n5B <= E2B; n5B += K2B) {
                                 y2B.data.push({
                                     value: n5B,
                                     display: R5B(n5B, h2B, G2B.label)
                                 });
                             }
                         }
                     }
                 }

                 function W5B(p2B) {
                     var S5B = {};
                     if (F5B && e5B[k5B].index > e5B.days.index) {
                         var J2B, b2B, B2B, a2B, s2B = new Date(),
                             g5B = j5B ? s2B : Q5B,
                             D2B = j5B ? Q5B : s2B;
                         D2B = O5B(D2B);
                         g5B = O5B(g5B);
                         S5B.years = g5B.getFullYear() - D2B.getFullYear();
                         S5B.months = g5B.getMonth() - D2B.getMonth();
                         S5B.days = g5B.getDate() - D2B.getDate();
                         S5B.hours = g5B.getHours() - D2B.getHours();
                         S5B.minutes = g5B.getMinutes() - D2B.getMinutes();
                         S5B.seconds = g5B.getSeconds() - D2B.getSeconds();
                         S5B.fract = (g5B.getMilliseconds() - D2B.getMilliseconds()) / 10;
                         for (J2B = N5B.length; J2B > 0; J2B--) {
                             b2B = N5B[J2B - 1];
                             B2B = e5B[b2B];
                             a2B = N5B[f5B.inArray(b2B, N5B) - 1];
                             if (e5B[a2B] && S5B[b2B] < 0) {
                                 S5B[a2B]--;
                                 S5B[b2B] += a2B == 'months' ? 32 - new Date(g5B.getFullYear(), g5B.getMonth(), 32).getDate() : B2B.until + 1;
                             }
                         }
                         if (k5B == 'months') {
                             S5B.months += S5B.years * 12;
                             delete S5B.years;
                         }
                     } else {
                         f5B(N5B).each(function(f2B, Y2B) {
                             if (e5B[Y2B].index <= e5B[k5B].index) {
                                 S5B[Y2B] = Math.floor(p2B / e5B[Y2B].limit);
                                 p2B -= S5B[Y2B] * e5B[Y2B].limit;
                             }
                         });
                     }
                     return S5B;
                 }

                 function O5B(q5B) {
                     return new Date(q5B.getUTCFullYear(), q5B.getUTCMonth(), q5B.getUTCDate(), q5B.getUTCHours(), q5B.getUTCMinutes(), q5B.getUTCSeconds(), q5B.getUTCMilliseconds());
                 }
                 var n5B, Z5B, M5B, c5B, r5B, T5B, d5B, o5B, j5B, E5B, C5B, v5B = f5B.extend({}, K5B.settings),
                     h5B = f5B.extend(K5B.settings, z5B, v5B),
                     H5B = h5B.useShortLabels ? h5B.labelsShort : h5B.labels,
                     I5B = ['toggle', 'resetlap'],
                     N5B = ['years', 'months', 'days', 'hours', 'minutes', 'seconds', 'fract'],
                     e5B = {
                         'years': {
                             index: 6,
                             until: 10,
                             limit: 1000 * 60 * 60 * 24 * 365,
                             label: H5B[0],
                             wheel: {}
                         },
                         'months': {
                             index: 5,
                             until: 11,
                             limit: 1000 * 60 * 60 * 24 * 30,
                             label: H5B[1],
                             wheel: {}
                         },
                         'days': {
                             index: 4,
                             until: 31,
                             limit: 1000 * 60 * 60 * 24,
                             label: H5B[2],
                             wheel: {}
                         },
                         'hours': {
                             index: 3,
                             until: 23,
                             limit: 1000 * 60 * 60,
                             label: H5B[3],
                             wheel: {}
                         },
                         'minutes': {
                             index: 2,
                             until: 59,
                             limit: 1000 * 60,
                             label: H5B[4],
                             wheel: {}
                         },
                         'seconds': {
                             index: 1,
                             until: 59,
                             limit: 1000,
                             label: H5B[5],
                             wheel: {}
                         },
                         'fract': {
                             index: 0,
                             until: 99,
                             limit: 10,
                             label: H5B[6],
                             prefix: '.',
                             wheel: {}
                         }
                     },
                     l5B = {},
                     X5B = [],
                     P5B = 0,
                     w5B = false,
                     u5B = true,
                     L5B = false,
                     t5B = Math.max(10, h5B.step * 1000),
                     k5B = h5B.maxWheel,
                     V5B = h5B.mode == 'stopwatch' || F5B,
                     Q5B = h5B.targetTime,
                     F5B = Q5B && Q5B.getTime !== y5B,
                     m5B = [
                         []
                     ];
                 K5B.start = function() {
                     if (u5B) {
                         K5B.reset();
                     }
                     if (!w5B) {
                         i5B();
                         if (!L5B && o5B >= d5B) {
                             return;
                         }
                         w5B = true;
                         u5B = false;
                         r5B = new Date();
                         c5B = o5B;
                         h5B.readonly = true;
                         K5B.setVal(A5B(j5B ? o5B : d5B - o5B), true, true, false, 100);
                         Z5B = setInterval(function() {
                             o5B = new Date() - r5B + c5B;
                             K5B.setVal(A5B(j5B ? o5B : d5B - o5B), true, true, false, Math.min(100, M5B - 10));
                             if (!L5B && o5B + M5B >= d5B) {
                                 clearInterval(Z5B);
                                 setTimeout(function() {
                                     K5B.stop();
                                     o5B = d5B;
                                     K5B.setVal(A5B(j5B ? o5B : 0), true, true, false, 100);
                                     K5B.trigger('onFinish', {
                                         time: d5B
                                     });
                                     u5B = true;
                                 }, d5B - o5B);
                             }
                         }, M5B);
                         x5B();
                         K5B.trigger('onStart');
                     }
                 };
                 K5B.stop = function() {
                     if (w5B) {
                         w5B = false;
                         clearInterval(Z5B);
                         o5B = new Date() - r5B + c5B;
                         x5B();
                         K5B.trigger('onStop', {
                             ellapsed: o5B
                         });
                     }
                 };
                 K5B.toggle = function() {
                     if (w5B) {
                         K5B.stop();
                     } else {
                         K5B.start();
                     }
                 };
                 K5B.reset = function() {
                     K5B.stop();
                     o5B = 0;
                     X5B = [];
                     P5B = 0;
                     K5B.setVal(A5B(j5B ? 0 : d5B), true, true, false, 100);
                     K5B.settings.readonly = V5B;
                     u5B = true;
                     if (!V5B) {
                         f5B('.mbsc-fr-w', E5B).removeClass('mbsc-timer-locked');
                     }
                     K5B.trigger('onReset');
                 };
                 K5B.lap = function() {
                     if (w5B) {
                         T5B = new Date() - r5B + c5B;
                         C5B = T5B - P5B;
                         P5B = T5B;
                         X5B.push(T5B);
                         K5B.trigger('onLap', {
                             ellapsed: T5B,
                             lap: C5B,
                             laps: X5B
                         });
                     }
                 };
                 K5B.resetlap = function() {
                     if (w5B && h5B.mode == 'stopwatch') {
                         K5B.lap();
                     } else {
                         K5B.reset();
                     }
                 };
                 K5B.getTime = function() {
                     return d5B;
                 };
                 K5B.setTime = function(r2B) {
                     Q5B = r2B / 1000;
                     d5B = r2B;
                 };
                 K5B.getEllapsedTime = function() {
                     return w5B ? new Date() - r5B + c5B : 0;
                 };
                 K5B.setEllapsedTime = function(M2B, T2B) {
                     if (!u5B) {
                         c5B = o5B = M2B;
                         r5B = new Date();
                         K5B.setVal(A5B(j5B ? o5B : d5B - o5B), true, T2B, false, 100);
                     }
                 };
                 i5B(true);
                 if (!k5B && !d5B) {
                     k5B = 'minutes';
                 }
                 if (h5B.display !== 'inline') {
                     I5B.push('hide');
                 }
                 if (!k5B) {
                     f5B(N5B).each(function(n2B, t2B) {
                         if (!k5B && d5B >= e5B[t2B].limit) {
                             k5B = t2B;
                             return false;
                         }
                     });
                 }
                 f5B(N5B).each(function(X2B, V2B) {
                     U5B(V2B);
                 });
                 M5B = Math.max(87, M5B);
                 if (h5B.autostart) {
                     setTimeout(function() {
                         K5B.start();
                     }, 0);
                 }
                 K5B.handlers.toggle = K5B.toggle;
                 K5B.handlers.start = K5B.start;
                 K5B.handlers.stop = K5B.stop;
                 K5B.handlers.resetlap = K5B.resetlap;
                 K5B.handlers.reset = K5B.reset;
                 K5B.handlers.lap = K5B.lap;
                 K5B.buttons.toggle = {
                     parentClass: 'mbsc-timer-btn-toggle-c',
                     text: h5B.startText,
                     icon: h5B.startIcon,
                     handler: 'toggle'
                 };
                 K5B.buttons.start = {
                     text: h5B.startText,
                     icon: h5B.startIcon,
                     handler: 'start'
                 };
                 K5B.buttons.stop = {
                     text: h5B.stopText,
                     icon: h5B.stopIcon,
                     handler: 'stop'
                 };
                 K5B.buttons.reset = {
                     text: h5B.resetText,
                     icon: h5B.resetIcon,
                     handler: 'reset'
                 };
                 K5B.buttons.lap = {
                     text: h5B.lapText,
                     icon: h5B.lapIcon,
                     handler: 'lap'
                 };
                 K5B.buttons.resetlap = {
                     parentClass: 'mbsc-timer-btn-resetlap-c',
                     text: h5B.resetText,
                     icon: h5B.resetIcon,
                     handler: 'resetlap'
                 };
                 K5B.buttons.hide = {
                     parentClass: 'mbsc-timer-btn-hide-c',
                     text: h5B.hideText,
                     icon: h5B.closeIcon,
                     handler: 'cancel'
                 };
                 return {
                     wheels: m5B,
                     headerText: false,
                     readonly: V5B,
                     buttons: I5B,
                     mode: 'countdown',
                     compClass: 'mbsc-timer',
                     parseValue: function() {
                         return A5B(j5B ? 0 : d5B);
                     },
                     formatValue: function(Z2B) {
                         var F2B = '',
                             P2B = 0;
                         f5B(N5B).each(function(x2B, I2B) {
                             if (I2B == 'fract') {
                                 return;
                             }
                             if (l5B[I2B]) {
                                 F2B += Z2B[P2B] + (I2B == 'seconds' && l5B.fract ? '.' + Z2B[P2B + 1] : '') + ' ' + H5B[x2B] + ' ';
                                 P2B++;
                             }
                         });
                         return F2B;
                     },
                     validate: function(m2B) {
                         var O2B = m2B.values,
                             v2B = m2B.index,
                             i2B = 0;
                         if (u5B && v2B !== y5B) {
                             Q5B = 0;
                             f5B(N5B).each(function(C2B, R2B) {
                                 if (l5B[R2B]) {
                                     Q5B += e5B[R2B].limit * O2B[i2B];
                                     i2B++;
                                 }
                             });
                             Q5B /= 1000;
                             i5B(true);
                         }
                     },
                     onBeforeShow: function() {
                         h5B.showLabel = true;
                     },
                     onMarkupReady: function(U2B) {
                         E5B = f5B(U2B.target);
                         x5B();
                         if (V5B) {
                             f5B('.mbsc-fr-w', E5B).addClass('mbsc-timer-locked');
                         }
                     },
                     onPosition: function(W2B) {
                         f5B('.mbsc-fr-w', W2B.target).css('min-width', 0).css('min-width', f5B('.mbsc-fr-btn-cont', W2B.target)[0].offsetWidth);
                     },
                     onDestroy: function() {
                         clearInterval(Z5B);
                     }
                 };
             };
         }());
         (function(D0B) {
             var S2B = L9s,
                 q2B = S2B.$,
                 g2B = {
                     wheelOrder: 'hhiiss',
                     useShortLabels: false,
                     min: 0,
                     max: Infinity,
                     labels: ['Years', 'Months', 'Days', 'Hours', 'Minutes', 'Seconds'],
                     labelsShort: ['Yrs', 'Mths', 'Days', 'Hrs', 'Mins', 'Secs']
                 };
             S2B.presetShort('timespan');
             S2B.presets.scroller.timespan = function(p0B) {
                 function w0B(R0B, v0B) {
                     return Math.floor(R0B / v0B) * v0B;
                 }

                 function k0B(x0B) {
                     var i0B = 0,
                         I0B = 0;
                     q2B.each(a0B, function(m0B, O0B) {
                         if (!isNaN(+x0B[i0B])) {
                             I0B += J0B[O0B.v].limit * x0B[m0B];
                         }
                     });
                     return I0B;
                 }

                 function j0B(P0B, F0B, Z0B) {
                     return (P0B < 10 && F0B ? '0' : '') + P0B + '<span class="mbsc-ts-lbl">' + Z0B + '</span>';
                 }

                 function H0B(M0B) {
                     var T0B = false,
                         t0B = d0B[B0B[M0B] - 1] || 1,
                         r0B = J0B[M0B],
                         n0B = r0B.label,
                         L0B = r0B.wheel;
                     L0B.data = [];
                     L0B.label = r0B.label;
                     if (h0B.match(new RegExp(r0B.re + r0B.re, 'i'))) {
                         T0B = true;
                     }
                     if (M0B == f0B) {
                         L0B.min = y0B[M0B];
                         L0B.max = G0B[M0B];
                         L0B.data = function(V0B) {
                             return {
                                 value: V0B,
                                 display: j0B(V0B * t0B, T0B, n0B)
                             };
                         };
                         L0B.getIndex = function(X0B) {
                             return Math.round(X0B / t0B);
                         };
                     } else {
                         for (Y0B = 0; Y0B <= r0B.until; Y0B += t0B) {
                             L0B.data.push({
                                 value: Y0B,
                                 display: j0B(Y0B, T0B, n0B)
                             });
                         }
                     }
                 }

                 function z0B(u0B) {
                     var l0B = {};
                     q2B(K0B).each(function(c0B, A0B) {
                         l0B[A0B] = B0B[A0B] ? Math.floor(u0B / J0B[A0B].limit) : 0;
                         u0B -= l0B[A0B] * J0B[A0B].limit;
                     });
                     return l0B;
                 }
                 var Y0B, o0B, Q0B, y0B, G0B, e0B = q2B.extend({}, p0B.settings),
                     b0B = q2B.extend(p0B.settings, g2B, e0B),
                     h0B = b0B.wheelOrder,
                     s0B = b0B.useShortLabels ? b0B.labelsShort : b0B.labels,
                     K0B = ['years', 'months', 'days', 'hours', 'minutes', 'seconds'],
                     J0B = {
                         'years': {
                             ord: 0,
                             index: 6,
                             until: 10,
                             limit: 1000 * 60 * 60 * 24 * 365,
                             label: s0B[0],
                             re: 'y',
                             wheel: {}
                         },
                         'months': {
                             ord: 1,
                             index: 5,
                             until: 11,
                             limit: 1000 * 60 * 60 * 24 * 30,
                             label: s0B[1],
                             re: 'm',
                             wheel: {}
                         },
                         'days': {
                             ord: 2,
                             index: 4,
                             until: 31,
                             limit: 1000 * 60 * 60 * 24,
                             label: s0B[2],
                             re: 'd',
                             wheel: {}
                         },
                         'hours': {
                             ord: 3,
                             index: 3,
                             until: 23,
                             limit: 1000 * 60 * 60,
                             label: s0B[3],
                             re: 'h',
                             wheel: {}
                         },
                         'minutes': {
                             ord: 4,
                             index: 2,
                             until: 59,
                             limit: 1000 * 60,
                             label: s0B[4],
                             re: 'i',
                             wheel: {}
                         },
                         'seconds': {
                             ord: 5,
                             index: 1,
                             until: 59,
                             limit: 1000,
                             label: s0B[5],
                             re: 's',
                             wheel: {}
                         }
                     },
                     a0B = [],
                     d0B = b0B.steps || [],
                     B0B = {},
                     f0B = 'seconds',
                     N0B = b0B.defaultValue || Math.max(b0B.min, Math.min(0, b0B.max)),
                     E0B = [
                         []
                     ];
                 q2B(K0B).each(function(U0B, C0B) {
                     o0B = h0B.search(new RegExp(J0B[C0B].re, 'i'));
                     if (o0B > -1) {
                         a0B.push({
                             o: o0B,
                             v: C0B
                         });
                         if (J0B[C0B].index > J0B[f0B].index) {
                             f0B = C0B;
                         }
                     }
                 });
                 a0B.sort(function(W0B, q0B) {
                     return W0B.o > q0B.o ? 1 : -1;
                 });
                 q2B.each(a0B, function(g0B, S0B) {
                     B0B[S0B.v] = g0B + 1;
                     E0B[0].push(J0B[S0B.v].wheel);
                 });
                 y0B = z0B(b0B.min);
                 G0B = z0B(b0B.max);
                 q2B.each(a0B, function(b4B, D4B) {
                     H0B(D4B.v);
                 });
                 p0B.getVal = function(J4B, a4B) {
                     return a4B ? p0B._getVal(J4B) : p0B._hasValue || J4B ? k0B(p0B.getArrayVal(J4B)) : null;
                 };
                 return {
                     showLabel: true,
                     wheels: E0B,
                     compClass: 'mbsc-ts',
                     parseValue: function(p4B) {
                         var s4B = [],
                             B4B;
                         if (S2B.util.isNumeric(p4B) || !p4B) {
                             Q0B = z0B(p4B || N0B);
                             q2B.each(a0B, function(f4B, Y4B) {
                                 s4B.push(Q0B[Y4B.v]);
                             });
                         } else {
                             q2B.each(a0B, function(y4B, G4B) {
                                 B4B = new RegExp('(\\d+)\\s?(' + b0B.labels[J0B[G4B.v].ord] + '|' + b0B.labelsShort[J0B[G4B.v].ord] + ')', 'gi').exec(p4B);
                                 s4B.push(B4B ? B4B[1] : 0);
                             });
                         }
                         q2B(s4B).each(function(z4B, K4B) {
                             s4B[z4B] = w0B(K4B, d0B[z4B] || 1);
                         });
                         return s4B;
                     },
                     formatValue: function(o4B) {
                         var h4B = '';
                         q2B.each(a0B, function(d4B, E4B) {
                             h4B += +o4B[d4B] ? o4B[d4B] + ' ' + J0B[E4B.v].label + ' ' : '';
                         });
                         return h4B ? h4B.replace(/\s+$/g, '') : 0;
                     },
                     validate: function(A4B) {
                         var l4B, e4B, N4B, j4B, H4B = A4B.values,
                             u4B = A4B.direction,
                             w4B = [],
                             k4B = true,
                             Q4B = true;
                         q2B(K0B).each(function(L4B, c4B) {
                             if (B0B[c4B] !== D0B) {
                                 N4B = B0B[c4B] - 1;
                                 w4B[N4B] = [];
                                 j4B = {};
                                 if (c4B != f0B) {
                                     if (k4B) {
                                         for (e4B = G0B[c4B] + 1; e4B <= J0B[c4B].until; e4B++) {
                                             j4B[e4B] = true;
                                         }
                                     }
                                     if (Q4B) {
                                         for (e4B = 0; e4B < y0B[c4B]; e4B++) {
                                             j4B[e4B] = true;
                                         }
                                     }
                                 }
                                 H4B[N4B] = p0B.getValidValue(N4B, H4B[N4B], u4B, j4B);
                                 l4B = z0B(k0B(H4B));
                                 k4B = k4B && l4B[c4B] == G0B[c4B];
                                 Q4B = Q4B && l4B[c4B] == y0B[c4B];
                                 q2B.each(j4B, function(r4B) {
                                     w4B[N4B].push(r4B);
                                 });
                             }
                         });
                         return {
                             disabled: w4B
                         };
                     }
                 };
             };
         }());
         (function() {
             var M4B = L9s,
                 T4B = M4B.presets.scroller;
             T4B.treelist = T4B.list;
             M4B.presetShort('list');
             M4B.presetShort('treelist');
         }());
         (function(X4B) {
             var n4B = L9s,
                 t4B = n4B.$,
                 V4B = n4B.classes;
             V4B.Widget = function(i4B, m4B, v4B) {
                 function O4B(R4B) {
                     if (!t4B('.mbsc-fr-c', R4B).hasClass('mbsc-wdg-c') && L9s.SJbOo) {
                         t4B('.mbsc-fr-c', R4B).addClass('mbsc-wdg-c').append(Z4B.show());
                         if (!t4B('.mbsc-w-p', R4B).length) {
                             t4B('.mbsc-fr-c', R4B).addClass('mbsc-w-p');
                         }
                     }
                 }
                 var P4B, I4B, x4B, Z4B = t4B(i4B),
                     F4B = this;
                 V4B.Frame.call(this, i4B, m4B, true);
                 F4B._generateContent = function() {
                     return '';
                 };
                 F4B._markupReady = function(C4B) {
                     if (P4B.display != 'inline') {
                         O4B(C4B);
                     }
                 };
                 F4B._markupInserted = function(U4B) {
                     if (P4B.display == 'inline') {
                         O4B(U4B);
                     }
                     U4B.trigger('mbsc-enhance', [{
                         theme: P4B.theme,
                         lang: P4B.lang
                     }]);
                 };
                 F4B._markupRemove = function() {
                     Z4B.hide();
                     if (I4B) {
                         I4B.prepend(Z4B);
                     } else {
                         x4B.after(Z4B);
                     }
                 };
                 F4B.__processSettings = function() {
                     P4B = F4B.settings;
                     F4B.buttons.ok = {
                         text: P4B.okText,
                         icon: P4B.okIcon,
                         handler: 'set'
                     };
                     P4B.buttons = P4B.buttons || (P4B.display == 'inline' ? [] : ['ok']);
                     if (!I4B && !x4B) {
                         x4B = Z4B.prev();
                         if (!x4B.length) {
                             I4B = Z4B.parent();
                         }
                     }
                     Z4B.hide();
                 };
                 F4B.__init = function() {
                     P4B.cssClass = (P4B.cssClass || '') + ' mbsc-wdg';
                 };
                 if (!v4B) {
                     F4B.init(m4B);
                 }
             };
             V4B.Widget.prototype = {
                 _hasDef: true,
                 _hasTheme: true,
                 _hasContent: true,
                 _class: 'widget',
                 _defaults: t4B.extend({}, V4B.Frame.prototype._defaults, {
                     okText: 'OK',
                     headerText: false
                 })
             };
             n4B.themes.widget = n4B.themes.frame;
             n4B.presetShort('widget', 'Widget', false);
         }());
         L9s.i18n.ca = {
             setText: 'Acceptar',
             cancelText: 'Cancel·lar',
             clearText: 'Esborrar',
             selectedText: '{count} seleccionat',
             selectedPluralText: '{count} seleccionats',
             dateFormat: 'dd/mm/yy',
             dayNames: ['Diumenge', 'Dilluns', 'Dimarts', 'Dimecres', 'Dijous', 'Divendres', 'Dissabte'],
             dayNamesShort: ['Dg', 'Dl', 'Dt', 'Dc', 'Dj', 'Dv', 'Ds'],
             dayNamesMin: ['Dg', 'Dl', 'Dt', 'Dc', 'Dj', 'Dv', 'Ds'],
             dayText: 'Dia',
             hourText: 'Hores',
             minuteText: 'Minuts',
             monthNames: ['Gener', 'Febrer', 'Mar&ccedil;', 'Abril', 'Maig', 'Juny', 'Juliol', 'Agost', 'Setembre', 'Octubre', 'Novembre', 'Desembre'],
             monthNamesShort: ['Gen', 'Feb', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Oct', 'Nov', 'Des'],
             monthText: 'Mes',
             secText: 'Segons',
             timeFormat: 'HH:ii',
             yearText: 'Any',
             nowText: 'Ara',
             pmText: 'pm',
             amText: 'am',
             todayText: 'Avui',
             firstDay: 1,
             dateText: 'Data',
             timeText: 'Temps',
             calendarText: 'Calendari',
             closeText: 'Tancar',
             fromText: 'Iniciar',
             toText: 'Final',
             wholeText: 'Sencer',
             fractionText: 'Fracció',
             unitText: 'Unitat',
             labels: ['Anys', 'Mesos', 'Dies', 'Hores', 'Minuts', 'Segons', ''],
             labelsShort: ['Anys', 'Mesos', 'Dies', 'Hrs', 'Mins', 'Secs', ''],
             startText: 'Iniciar',
             stopText: 'Aturar',
             resetText: 'Reiniciar',
             lapText: 'Volta',
             hideText: 'Amagar',
             backText: 'Enrere',
             undoText: 'Desfés',
             offText: 'No',
             onText: 'Si'
         };
         L9s.i18n.cs = {
             setText: 'Zadej',
             cancelText: 'Storno',
             clearText: 'Vymazat',
             selectedText: 'Označený: {count}',
             dateFormat: 'dd.mm.yy',
             dayNames: ['Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota'],
             dayNamesShort: ['Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'],
             dayNamesMin: ['N', 'P', 'Ú', 'S', 'Č', 'P', 'S'],
             dayText: 'Den',
             hourText: 'Hodiny',
             minuteText: 'Minuty',
             monthNames: ['Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec'],
             monthNamesShort: ['Led', 'Úno', 'Bře', 'Dub', 'Kvě', 'Čer', 'Čvc', 'Spr', 'Zář', 'Říj', 'Lis', 'Pro'],
             monthText: 'Měsíc',
             secText: 'Sekundy',
             timeFormat: 'HH:ii',
             yearText: 'Rok',
             nowText: 'Teď',
             amText: 'am',
             pmText: 'pm',
             todayText: 'Dnes',
             firstDay: 1,
             dateText: 'Datum',
             timeText: 'Čas',
             calendarText: 'Kalendář',
             closeText: 'Zavřít',
             fromText: 'Začátek',
             toText: 'Konec',
             wholeText: 'Celý',
             fractionText: 'Část',
             unitText: 'Jednotka',
             labels: ['Roky', 'Měsíce', 'Dny', 'Hodiny', 'Minuty', 'Sekundy', ''],
             labelsShort: ['Rok', 'Měs', 'Dny', 'Hod', 'Min', 'Sec', ''],
             startText: 'Start',
             stopText: 'Stop',
             resetText: 'Resetovat',
             lapText: 'Etapa',
             hideText: 'Schovat',
             backText: 'Zpět',
             undoText: 'Zpět',
             offText: 'O',
             onText: 'I',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n.da = {
             setText: 'Sæt',
             cancelText: 'Annuller',
             clearText: 'Ryd',
             selectedText: '{count} valgt',
             selectedPluralText: '{count} valgt',
             dateFormat: 'dd/mm/yy',
             dayNames: ['Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag'],
             dayNamesShort: ['Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'],
             dayNamesMin: ['S', 'M', 'T', 'O', 'T', 'F', 'L'],
             dayText: 'Dag',
             hourText: 'Timer',
             minuteText: 'Minutter',
             monthNames: ['Januar', 'Februar', 'Marts', 'April', 'Maj', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'December'],
             monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'],
             monthText: 'Måned',
             secText: 'Sekunder',
             amText: 'am',
             pmText: 'pm',
             timeFormat: 'HH.ii',
             yearText: 'År',
             nowText: 'Nu',
             todayText: 'I dag',
             firstDay: 1,
             dateText: 'Dato',
             timeText: 'Tid',
             calendarText: 'Kalender',
             closeText: 'Luk',
             fromText: 'Start',
             toText: 'Slut',
             wholeText: 'Hele',
             fractionText: 'Dele',
             unitText: 'Enhed',
             labels: ['År', 'Måneder', 'Dage', 'Timer', 'Minutter', 'Sekunder', ''],
             labelsShort: ['År', 'Mdr', 'Dg', 'Timer', 'Min', 'Sek', ''],
             startText: 'Start',
             stopText: 'Stop',
             resetText: 'Nulstil',
             lapText: 'Omgang',
             hideText: 'Skjul',
             offText: 'Fra',
             onText: 'Til',
             backText: 'Tilbage',
             undoText: 'Fortryd'
         };
         L9s.i18n['en-GB'] = L9s.i18n['en-UK'] = {
             dateFormat: 'dd/mm/yy',
             timeFormat: 'HH:ii'
         };
         L9s.i18n.es = {
             setText: 'Aceptar',
             cancelText: 'Cancelar',
             clearText: 'Borrar',
             selectedText: '{count} seleccionado',
             selectedPluralText: '{count} seleccionados',
             dateFormat: 'dd/mm/yy',
             dayNames: ['Domingo', 'Lunes', 'Martes', 'Mi&#xE9;rcoles', 'Jueves', 'Viernes', 'S&#xE1;bado'],
             dayNamesShort: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'S&#xE1;'],
             dayNamesMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
             dayText: 'D&#237;a',
             hourText: 'Horas',
             minuteText: 'Minutos',
             monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
             monthNamesShort: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],
             monthText: 'Mes',
             secText: 'Segundos',
             timeFormat: 'HH:ii',
             yearText: 'A&ntilde;o',
             nowText: 'Ahora',
             pmText: 'pm',
             amText: 'am',
             todayText: 'Hoy',
             firstDay: 1,
             dateText: 'Fecha',
             timeText: 'Tiempo',
             calendarText: 'Calendario',
             closeText: 'Cerrar',
             fromText: 'Iniciar',
             toText: 'Final',
             wholeText: 'Entero',
             fractionText: 'Fracción',
             unitText: 'Unidad',
             labels: ['Años', 'Meses', 'Días', 'Horas', 'Minutos', 'Segundos', ''],
             labelsShort: ['Año', 'Mes', 'Día', 'Hora', 'Min', 'Seg', ''],
             startText: 'Iniciar',
             stopText: 'Deténgase',
             resetText: 'Reinicializar',
             lapText: 'Lap',
             hideText: 'Esconder',
             backText: 'Atrás',
             undoText: 'Deshacer',
             offText: 'No',
             onText: 'Sí',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         var r9s = {
             gDaysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
             jDaysInMonth: [31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 29]
         };
         r9s.jalaliToGregorian = function(s8B, J8B, a8B) {
             s8B = parseInt(s8B);
             J8B = parseInt(J8B);
             a8B = parseInt(a8B);
             var q4B;
             var D8B = s8B - 979;
             var B8B = J8B - 1;
             var p8B = a8B - 1;
             var b8B = 365 * D8B + parseInt(D8B / 33) * 8 + parseInt((D8B % 33 + 3) / 4);
             for (q4B = 0; q4B < B8B; ++q4B) {
                 b8B += r9s.jDaysInMonth[q4B];
             }
             b8B += p8B;
             var W4B = b8B + 79;
             var S4B = 1600 + 400 * parseInt(W4B / 146097);
             W4B = W4B % 146097;
             var g4B = true;
             if (W4B >= 36525) {
                 W4B--;
                 S4B += 100 * parseInt(W4B / 36524);
                 W4B = W4B % 36524;
                 if (W4B >= 365) {
                     W4B++;
                 } else {
                     g4B = false;
                 }
             }
             S4B += 4 * parseInt(W4B / 1461);
             W4B %= 1461;
             if (W4B >= 366) {
                 g4B = false;
                 W4B--;
                 S4B += parseInt(W4B / 365);
                 W4B = W4B % 365;
             }
             for (q4B = 0; W4B >= r9s.gDaysInMonth[q4B] + (q4B == 1 && g4B); q4B++) {
                 W4B -= r9s.gDaysInMonth[q4B] + (q4B == 1 && g4B);
             }
             var f8B = q4B + 1;
             var Y8B = W4B + 1;
             return [S4B, f8B, Y8B];
         };
         r9s.checkDate = function(y8B, G8B, z8B) {
             return !(y8B < 0 || y8B > 32767 || G8B < 1 || G8B > 12 || z8B < 1 || z8B > r9s.jDaysInMonth[G8B - 1] + (G8B == 12 && (y8B - 979) % 33 % 4 === 0));
         };
         r9s.gregorianToJalali = function(j8B, E8B, e8B) {
             j8B = parseInt(j8B);
             E8B = parseInt(E8B);
             e8B = parseInt(e8B);
             var h8B;
             var o8B = j8B - 1600;
             var N8B = E8B - 1;
             var k8B = e8B - 1;
             var d8B = 365 * o8B + parseInt((o8B + 3) / 4) - parseInt((o8B + 99) / 100) + parseInt((o8B + 399) / 400);
             for (h8B = 0; h8B < N8B; ++h8B) {
                 d8B += r9s.gDaysInMonth[h8B];
             }
             if (N8B > 1 && (o8B % 4 === 0 && o8B % 100 !== 0 || o8B % 400 === 0)) {
                 ++d8B;
             }
             d8B += k8B;
             var K8B = d8B - 79;
             var w8B = parseInt(K8B / 12053);
             K8B %= 12053;
             var Q8B = 979 + 33 * w8B + 4 * parseInt(K8B / 1461);
             K8B %= 1461;
             if (K8B >= 366) {
                 Q8B += parseInt((K8B - 1) / 365);
                 K8B = (K8B - 1) % 365;
             }
             for (h8B = 0; h8B < 11 && K8B >= r9s.jDaysInMonth[h8B]; ++h8B) {
                 K8B -= r9s.jDaysInMonth[h8B];
             }
             var l8B = h8B + 1;
             var H8B = K8B + 1;
             return [Q8B, l8B, H8B];
         };
         L9s.i18n.fa = {
             setText: 'تاييد',
             cancelText: 'انصراف',
             clearText: 'واضح ',
             selectedText: '{count} منتخب',
             dateFormat: 'yy/mm/dd',
             dayNames: ['يکشنبه', 'دوشنبه', 'سه‌شنبه', 'چهارشنبه', 'پنج‌شنبه', 'جمعه', 'شنبه'],
             dayNamesShort: ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'],
             dayNamesMin: ['ی', 'د', 'س', 'چ', 'پ', 'ج', 'ش'],
             dayText: 'روز',
             hourText: 'ساعت',
             minuteText: 'دقيقه',
             monthNames: ['فروردين', 'ارديبهشت', 'خرداد', 'تير', 'مرداد', 'شهريور', 'مهر', 'آبان', 'آذر', 'دی', 'بهمن', 'اسفند'],
             monthNamesShort: ['فروردين', 'ارديبهشت', 'خرداد', 'تير', 'مرداد', 'شهريور', 'مهر', 'آبان', 'آذر', 'دی', 'بهمن', 'اسفند'],
             monthText: 'ماه',
             secText: 'ثانيه',
             timeFormat: 'HH:ii',
             timeWheels: 'iiHH',
             yearText: 'سال',
             nowText: 'اکنون',
             amText: 'ب',
             pmText: 'ص',
             todayText: 'امروز',
             getYear: function(u8B) {
                 return r9s.gregorianToJalali(u8B.getFullYear(), u8B.getMonth() + 1, u8B.getDate())[0];
             },
             getMonth: function(A8B) {
                 return --r9s.gregorianToJalali(A8B.getFullYear(), A8B.getMonth() + 1, A8B.getDate())[1];
             },
             getDay: function(c8B) {
                 return r9s.gregorianToJalali(c8B.getFullYear(), c8B.getMonth() + 1, c8B.getDate())[2];
             },
             getDate: function(M8B, L8B, T8B, t8B, n8B, V8B, X8B) {
                 if (L8B < 0) {
                     M8B += Math.floor(L8B / 12);
                     L8B = 12 + L8B % 12;
                 }
                 if (L8B > 11) {
                     M8B += Math.floor(L8B / 12);
                     L8B = L8B % 12;
                 }
                 var r8B = r9s.jalaliToGregorian(M8B, +L8B + 1, T8B);
                 return new Date(r8B[0], r8B[1] - 1, r8B[2], t8B || 0, n8B || 0, V8B || 0, X8B || 0);
             },
             getMaxDayOfMonth: function(F8B, Z8B) {
                 var P8B = 31;
                 while (r9s.checkDate(F8B, Z8B + 1, P8B) === false) {
                     P8B--;
                 }
                 return P8B;
             },
             firstDay: 6,
             rtl: true,
             dateText: 'تاریخ ',
             timeText: 'زمان ',
             calendarText: 'تقویم',
             closeText: 'نزدیک',
             fromText: 'شروع ',
             toText: 'پایان',
             wholeText: 'تمام',
             fractionText: 'کسر',
             unitText: 'واحد',
             labels: ['سال', 'ماه', 'روز', 'ساعت', 'دقیقه', 'ثانیه', ''],
             labelsShort: ['سال', 'ماه', 'روز', 'ساعت', 'دقیقه', 'ثانیه', ''],
             startText: 'شروع',
             stopText: 'پايان',
             resetText: 'تنظیم مجدد',
             lapText: 'Lap',
             hideText: 'پنهان کردن',
             backText: 'پشت',
             undoText: 'واچیدن'
         };
         L9s.i18n.fr = {
             setText: 'Terminer',
             cancelText: 'Annuler',
             clearText: 'Effacer',
             selectedText: '{count} sélectionné',
             selectedPluralText: '{count} sélectionnés',
             dateFormat: 'dd/mm/yy',
             dayNames: ['&#68;imanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'],
             dayNamesShort: ['&#68;im.', 'Lun.', 'Mar.', 'Mer.', 'Jeu.', 'Ven.', 'Sam.'],
             dayNamesMin: ['&#68;', 'L', 'M', 'M', 'J', 'V', 'S'],
             dayText: 'Jour',
             monthText: 'Mois',
             monthNames: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
             monthNamesShort: ['Janv.', 'Févr.', 'Mars', 'Avril', 'Mai', 'Juin', 'Juil.', 'Août', 'Sept.', 'Oct.', 'Nov.', 'Déc.'],
             hourText: 'Heures',
             minuteText: 'Minutes',
             secText: 'Secondes',
             timeFormat: 'HH:ii',
             yearText: 'Année',
             nowText: 'Maintenant',
             pmText: 'pm',
             amText: 'am',
             todayText: "Aujourd'hui",
             firstDay: 1,
             dateText: 'Date',
             timeText: 'Heure',
             calendarText: 'Calendrier',
             closeText: 'Fermer',
             fromText: 'Démarrer',
             toText: 'Fin',
             wholeText: 'Entier',
             fractionText: 'Fraction',
             unitText: 'Unité',
             labels: ['Ans', 'Mois', 'Jours', 'Heures', 'Minutes', 'Secondes', ''],
             labelsShort: ['Ans', 'Mois', 'Jours', 'Hrs', 'Min', 'Sec', ''],
             startText: 'Démarrer',
             stopText: 'Arrêter',
             resetText: 'Réinitialiser',
             lapText: 'Lap',
             hideText: 'Cachez',
             backText: 'Retour',
             undoText: 'Annuler',
             offText: 'Non',
             onText: 'Oui',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n.he = {
             rtl: true,
             setText: 'שמירה',
             cancelText: 'ביטול',
             clearText: 'נקה',
             selectedText: '{count} נבחר',
             selectedPluralText: '{count} נבחרו',
             dateFormat: 'dd/mm/yy',
             dayNames: ['ראשון', 'שני', 'שלישי', 'רביעי', 'חמישי', 'שישי', 'שבת'],
             dayNamesShort: ["א'", "ב'", "ג'", "ד'", "ה'", "ו'", "ש'"],
             dayNamesMin: ['א', 'ב', 'ג', 'ד', 'ה', 'ו', 'ש'],
             dayText: 'יום',
             hourText: 'שעות',
             minuteText: 'דקות',
             monthNames: ['ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'],
             monthNamesShort: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"],
             monthText: 'חודש',
             secText: 'שניות',
             amText: 'am',
             pmText: 'pm',
             timeFormat: 'HH:ii',
             timeWheels: 'iiHH',
             yearText: 'שנה',
             nowText: 'עכשיו',
             firstDay: 0,
             dateText: 'תאריך',
             timeText: 'זמן',
             calendarText: 'תאריכון',
             closeText: 'סגירה',
             todayText: 'היום',
             eventText: 'מִקרֶה',
             eventsText: 'מִקרֶה',
             fromText: 'התחלה',
             toText: 'סיום',
             wholeText: 'כֹּל',
             fractionText: 'שבריר',
             unitText: 'יחידה',
             labels: ['שנים', 'חודשים', 'ימים', 'שעות', 'דקות', 'שניים', ''],
             labelsShort: ['שנים', 'חודשים', 'ימים', 'שעות', 'דקות', 'שניים', ''],
             startText: 'התחל',
             stopText: 'עצור',
             resetText: 'אתחול',
             lapText: 'הקפה',
             hideText: 'הסתר',
             offText: 'כיבוי',
             onText: 'הפעלה',
             backText: 'חזור',
             undoText: 'ביטול פעולה'
         };
         L9s.i18n.hu = {
             setText: 'OK',
             cancelText: 'Mégse',
             clearText: 'Törlés',
             selectedText: '{count} kiválasztva',
             dateFormat: 'yy.mm.dd.',
             dayNames: ['Vasárnap', 'Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
             dayNamesShort: ['Va', 'Hé', 'Ke', 'Sze', 'Csü', 'Pé', 'Szo'],
             dayNamesMin: ['V', 'H', 'K', 'Sz', 'Cs', 'P', 'Sz'],
             dayText: 'Nap',
             delimiter: '.',
             hourText: 'Óra',
             minuteText: 'Perc',
             monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
             monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún', 'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
             monthText: 'Hónap',
             secText: 'Másodperc',
             timeFormat: 'H:ii',
             yearText: 'Év',
             nowText: 'Most',
             pmText: 'pm',
             amText: 'am',
             firstDay: 1,
             dateText: 'Dátum',
             timeText: 'Idő',
             calendarText: 'Naptár',
             todayText: 'Ma',
             prevMonthText: 'Előző hónap',
             nextMonthText: 'Következő hónap',
             prevYearText: 'Előző év',
             nextYearText: 'Következő év',
             closeText: 'Bezár',
             eventText: 'esemény',
             eventsText: 'esemény',
             fromText: 'Eleje',
             toText: 'Vége',
             wholeText: 'Egész',
             fractionText: 'Tört',
             unitText: 'Egység',
             labels: ['Év', 'Hónap', 'Nap', 'Óra', 'Perc', 'Másodperc', ''],
             labelsShort: ['Év', 'Hó.', 'Nap', 'Óra', 'Perc', 'Mp.', ''],
             startText: 'Indít',
             stopText: 'Megállít',
             resetText: 'Visszaállít',
             lapText: 'Lap',
             hideText: 'Elrejt',
             backText: 'Vissza',
             undoText: 'Visszavon',
             offText: 'Ki',
             onText: 'Be',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n.it = {
             setText: 'OK',
             cancelText: 'Annulla',
             clearText: 'Chiarire',
             selectedText: '{count} selezionato',
             selectedPluralText: '{count} selezionati',
             dateFormat: 'dd/mm/yy',
             dayNames: ['Domenica', 'Lunedì', 'Mertedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'],
             dayNamesShort: ['Do', 'Lu', 'Ma', 'Me', 'Gi', 'Ve', 'Sa'],
             dayNamesMin: ['D', 'L', 'M', 'M', 'G', 'V', 'S'],
             dayText: 'Giorno',
             hourText: 'Ore',
             minuteText: 'Minuti',
             monthNames: ['Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'],
             monthNamesShort: ['Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic'],
             monthText: 'Mese',
             secText: 'Secondi',
             timeFormat: 'HH:ii',
             yearText: 'Anno',
             nowText: 'Ora',
             pmText: 'pm',
             amText: 'am',
             todayText: 'Oggi',
             firstDay: 1,
             dateText: 'Data',
             timeText: 'Volta',
             calendarText: 'Calendario',
             closeText: 'Chiudere',
             fromText: 'Inizio',
             toText: 'Fine',
             wholeText: 'Intero',
             fractionText: 'Frazione',
             unitText: 'Unità',
             labels: ['Anni', 'Mesi', 'Giorni', 'Ore', 'Minuti', 'Secondi', ''],
             labelsShort: ['Anni', 'Mesi', 'Gio', 'Ore', 'Min', 'Sec', ''],
             startText: 'Inizio',
             stopText: 'Arresto',
             resetText: 'Ripristina',
             lapText: 'Lap',
             hideText: 'Nascondi',
             backText: 'Indietro',
             undoText: 'Annulla',
             offText: 'Via',
             onText: 'Su',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n.ja = {
             setText: 'セット',
             cancelText: 'キャンセル',
             clearText: 'クリア',
             selectedText: '{count} 選択',
             dateFormat: 'yy年mm月dd日',
             dayNames: ['日', '月', '火', '水', '木', '金', '土'],
             dayNamesShort: ['日', '月', '火', '水', '木', '金', '土'],
             dayNamesMin: ['日', '月', '火', '水', '木', '金', '土'],
             dayText: '日',
             hourText: '時',
             minuteText: '分',
             monthNames: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
             monthNamesShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
             monthText: '月',
             secText: '秒',
             timeFormat: 'HH:ii',
             yearText: '年',
             nowText: '今',
             pmText: '午後',
             amText: '午前',
             yearSuffix: '年',
             monthSuffix: '月',
             daySuffix: '日',
             todayText: '今日',
             dateText: '日付',
             timeText: '時間',
             calendarText: 'カレンダー',
             closeText: 'クローズ',
             fromText: '開始',
             toText: '終わり',
             wholeText: '全数',
             fractionText: '分数',
             unitText: '単位',
             labels: ['年間', '月間', '日間', '時間', '分', '秒', ''],
             labelsShort: ['年間', '月間', '日間', '時間', '分', '秒', ''],
             startText: '開始',
             stopText: '停止',
             resetText: 'リセット',
             lapText: 'ラップ',
             hideText: '隠す',
             backText: 'バック',
             undoText: 'アンドゥ'
         };
         L9s.i18n.lt = {
             setText: 'OK',
             cancelText: 'Atšaukti',
             clearText: 'Išvalyti',
             selectedText: 'Pasirinktas {count}',
             selectedPluralText: 'Pasirinkti {count}',
             dateFormat: 'yy-mm-dd',
             dayNames: ['Sekmadienis', 'Pirmadienis', 'Antradienis', 'Trečiadienis', 'Ketvirtadienis', 'Penktadienis', 'Šeštadienis'],
             dayNamesShort: ['S', 'Pr', 'A', 'T', 'K', 'Pn', 'Š'],
             dayNamesMin: ['S', 'Pr', 'A', 'T', 'K', 'Pn', 'Š'],
             dayText: 'Diena',
             hourText: 'Valanda',
             minuteText: 'Minutes',
             monthNames: ['Sausis', 'Vasaris', 'Kovas', 'Balandis', 'Gegužė', 'Birželis', 'Liepa', 'Rugpjūtis', 'Rugsėjis', 'Spalis', 'Lapkritis', 'Gruodis'],
             monthNamesShort: ['Sau', 'Vas', 'Kov', 'Bal', 'Geg', 'Bir', 'Lie', 'Rugp', 'Rugs', 'Spa', 'Lap', 'Gruo'],
             monthText: 'Mėnuo',
             secText: 'Sekundes',
             amText: 'am',
             pmText: 'pm',
             timeFormat: 'HH:ii',
             yearText: 'Metai',
             nowText: 'Dabar',
             todayText: 'Šiandien',
             firstDay: 1,
             dateText: 'Data',
             timeText: 'Laikas',
             calendarText: 'Kalendorius',
             closeText: 'Uždaryti',
             fromText: 'Nuo',
             toText: 'Iki',
             wholeText: 'Visas',
             fractionText: 'Frakcija',
             unitText: 'Vienetas',
             labels: ['Metai', 'Mėnesiai', 'Dienos', 'Valandos', 'Minutes', 'Sekundes', ''],
             labelsShort: ['m', 'mėn.', 'd', 'h', 'min', 's', ''],
             startText: 'Pradėti',
             stopText: 'Sustabdyti',
             resetText: 'Išnaujo',
             lapText: 'Ratas',
             hideText: 'Slėpti',
             backText: 'Atgal',
             undoText: 'Anuliuoti',
             offText: 'Išj.',
             onText: 'Įj.',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n.nl = {
             setText: 'Instellen',
             cancelText: 'Annuleren',
             clearText: 'Duidelijk',
             selectedText: '{count} gekozen',
             dateFormat: 'dd-mm-yy',
             dayNames: ['zondag', 'maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag'],
             dayNamesShort: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
             dayNamesMin: ['z', 'm', 'd', 'w', 'd', 'v', 'z'],
             dayText: 'Dag',
             hourText: 'Uur',
             minuteText: 'Minuten',
             monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
             monthNamesShort: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
             monthText: 'Maand',
             secText: 'Seconden',
             timeFormat: 'HH:ii',
             yearText: 'Jaar',
             nowText: 'Nu',
             pmText: 'pm',
             amText: 'am',
             todayText: 'Vandaag',
             firstDay: 1,
             dateText: 'Datum',
             timeText: 'Tijd',
             calendarText: 'Kalender',
             closeText: 'Sluiten',
             fromText: 'Start',
             toText: 'Einde',
             wholeText: 'geheel',
             fractionText: 'fractie',
             unitText: 'eenheid',
             labels: ['Jaren', 'Maanden', 'Dagen', 'Uren', 'Minuten', 'Seconden', ''],
             labelsShort: ['j', 'm', 'd', 'u', 'min', 'sec', ''],
             startText: 'Start',
             stopText: 'Stop',
             resetText: 'Reset',
             lapText: 'Ronde',
             hideText: 'Verbergen',
             backText: 'Terug',
             undoText: 'Onged. maken',
             offText: 'Uit',
             onText: 'Aan',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n.no = {
             setText: 'OK',
             cancelText: 'Avbryt',
             clearText: 'Tømme',
             selectedText: '{count} valgt',
             dateFormat: 'dd.mm.yy',
             dayNames: ['Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag'],
             dayNamesShort: ['Sø', 'Ma', 'Ti', 'On', 'To', 'Fr', 'Lø'],
             dayNamesMin: ['S', 'M', 'T', 'O', 'T', 'F', 'L'],
             dayText: 'Dag',
             delimiter: '.',
             hourText: 'Time',
             minuteText: 'Minutt',
             monthNames: ['Januar', 'Februar', 'Mars', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Desember'],
             monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
             monthText: 'Måned',
             secText: 'Sekund',
             timeFormat: 'HH:ii',
             yearText: 'År',
             nowText: 'Nå',
             pmText: 'pm',
             amText: 'am',
             todayText: 'I dag',
             firstDay: 1,
             dateText: 'Dato',
             timeText: 'Tid',
             calendarText: 'Kalender',
             closeText: 'Lukk',
             fromText: 'Start',
             toText: 'End',
             wholeText: 'Hele',
             fractionText: 'Fraksjon',
             unitText: 'Enhet',
             labels: ['År', 'Måneder', 'Dager', 'Timer', 'Minutter', 'Sekunder', ''],
             labelsShort: ['År', 'Mån', 'Dag', 'Time', 'Min', 'Sek', ''],
             startText: 'Start',
             stopText: 'Stopp',
             resetText: 'Tilbakestille',
             lapText: 'Runde',
             hideText: 'Skjul',
             backText: 'Tilbake',
             undoText: 'Angre',
             offText: 'Av',
             onText: 'På',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n.pl = {
             setText: 'Zestaw',
             cancelText: 'Anuluj',
             clearText: 'Oczyścić',
             selectedText: 'Wybór: {count}',
             dateFormat: 'yy-mm-dd',
             dayNames: ['Niedziela', 'Poniedziałek', 'Wtorek', 'Środa', 'Czwartek', 'Piątek', 'Sobota'],
             dayNamesShort: ['Niedz.', 'Pon.', 'Wt.', 'Śr.', 'Czw.', 'Pt.', 'Sob.'],
             dayNamesMin: ['N', 'P', 'W', 'Ś', 'C', 'P', 'S'],
             dayText: 'Dzień',
             hourText: 'Godziny',
             minuteText: 'Minuty',
             monthNames: ['Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec', 'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień'],
             monthNamesShort: ['Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze', 'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru'],
             monthText: 'Miesiąc',
             secText: 'Sekundy',
             timeFormat: 'HH:ii',
             yearText: 'Rok',
             nowText: 'Teraz',
             amText: 'am',
             pmText: 'pm',
             todayText: 'Dzisiaj',
             firstDay: 1,
             dateText: 'Data',
             timeText: 'Czas',
             calendarText: 'Kalendarz',
             closeText: 'Zakończenie',
             fromText: 'Rozpoczęcie',
             toText: 'Koniec',
             wholeText: 'Cały',
             fractionText: 'Ułamek',
             unitText: 'Jednostka',
             labels: ['Lata', 'Miesiąc', 'Dni', 'Godziny', 'Minuty', 'Sekundy', ''],
             labelsShort: ['R', 'M', 'Dz', 'Godz', 'Min', 'Sek', ''],
             startText: 'Rozpoczęcie',
             stopText: 'Zatrzymać',
             resetText: 'Zresetować',
             lapText: 'Zakładka',
             hideText: 'Ukryć',
             backText: 'Wróć',
             undoText: 'Cofnij',
             offText: 'Wył',
             onText: 'Wł',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n['pt-BR'] = {
             setText: 'Selecionar',
             cancelText: 'Cancelar',
             clearText: 'Claro',
             selectedText: '{count} selecionado',
             selectedPluralText: '{count} selecionados',
             dateFormat: 'dd/mm/yy',
             dayNames: ['Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'Sábado'],
             dayNamesShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'],
             dayNamesMin: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'],
             dayText: 'Dia',
             hourText: 'Hora',
             minuteText: 'Minutos',
             monthNames: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
             monthNamesShort: ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],
             monthText: 'Mês',
             secText: 'Segundo',
             timeFormat: 'HH:ii',
             yearText: 'Ano',
             nowText: 'Agora',
             pmText: 'pm',
             amText: 'am',
             todayText: 'Hoje',
             dateText: 'Data',
             timeText: 'Tempo',
             calendarText: 'Calendário',
             closeText: 'Fechar',
             fromText: 'In&iacute;cio',
             toText: 'Fim',
             wholeText: 'Inteiro',
             fractionText: 'Fração',
             unitText: 'Unidade',
             labels: ['Anos', 'Meses', 'Dias', 'Horas', 'Minutos', 'Segundos', ''],
             labelsShort: ['Ano', 'M&ecirc;s', 'Dia', 'Hora', 'Min', 'Seg', ''],
             startText: 'Começar',
             stopText: 'Pare',
             resetText: 'Reinicializar',
             lapText: 'Lap',
             hideText: 'Esconder',
             backText: 'Anterior',
             undoText: 'Desfazer',
             offText: 'Desl',
             onText: 'Lig',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n['pt-PT'] = {
             setText: 'Seleccionar',
             cancelText: 'Cancelar',
             clearText: 'Claro',
             selectedText: '{count} selecionado',
             selectedPluralText: '{count} selecionados',
             dateFormat: 'dd-mm-yy',
             dayNames: ['Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quinta-feira', 'Sexta-feira', 'S&aacute;bado'],
             dayNamesShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'S&aacute;b'],
             dayNamesMin: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'],
             dayText: 'Dia',
             hourText: 'Horas',
             minuteText: 'Minutos',
             monthNames: ['Janeiro', 'Fevereiro', 'Mar&ccedil;o', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
             monthNamesShort: ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],
             monthText: 'M&ecirc;s',
             secText: 'Segundo',
             timeFormat: 'HH:ii',
             yearText: 'Ano',
             nowText: 'Actualizar',
             pmText: 'pm',
             amText: 'am',
             todayText: 'Hoy',
             firstDay: 1,
             dateText: 'Data',
             timeText: 'Tempo',
             calendarText: 'Calend&aacute;rio',
             closeText: 'Fechar',
             fromText: 'In&iacute;cio',
             toText: 'Fim',
             wholeText: 'Inteiro',
             fractionText: 'Frac&ccedil;&atilde;o',
             unitText: 'Unidade',
             labels: ['Anos', 'Meses', 'Dias', 'Horas', 'Minutos', 'Segundos', ''],
             labelsShort: ['Ano', 'M&ecirc;s', 'Dia', 'Hora', 'Min', 'Seg', ''],
             startText: 'Come&ccedil;ar',
             stopText: 'Parar',
             resetText: 'Reinicializar',
             lapText: 'Lap',
             hideText: 'Esconder',
             backText: 'Anterior',
             undoText: 'Anular',
             offText: 'Desl',
             onText: 'Lig',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n.ro = {
             setText: 'Setare',
             cancelText: 'Anulare',
             clearText: 'Ştergere',
             selectedText: '{count} selectat',
             selectedPluralText: '{count} selectate',
             dateFormat: 'dd.mm.yy',
             dayNames: ['Duminică', 'Luni', 'Marți', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'],
             dayNamesShort: ['Du', 'Lu', 'Ma', 'Mi', 'Jo', 'Vi', 'Sâ'],
             dayNamesMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
             dayText: ' Ziua',
             delimiter: '.',
             hourText: ' Ore ',
             minuteText: 'Minute',
             monthNames: ['Ianuarie', 'Februarie', 'Martie', 'Aprilie', 'Mai', 'Iunie', 'Iulie', 'August', 'Septembrie', 'Octombrie', 'Noiembrie', 'Decembrie'],
             monthNamesShort: ['Ian.', 'Feb.', 'Mar.', 'Apr.', 'Mai', 'Iun.', 'Iul.', 'Aug.', 'Sept.', 'Oct.', 'Nov.', 'Dec.'],
             monthText: 'Luna',
             secText: 'Secunde',
             timeFormat: 'HH:ii',
             yearText: 'Anul',
             nowText: 'Acum',
             amText: 'am',
             pmText: 'pm',
             todayText: 'Astăzi',
             firstDay: 1,
             dateText: 'Data',
             timeText: 'Ora',
             calendarText: 'Calendar',
             closeText: 'Închidere',
             fromText: 'Start',
             toText: 'Final',
             wholeText: 'Complet',
             fractionText: 'Parţial',
             unitText: 'Unitate',
             labels: ['Ani', 'Luni', 'Zile', 'Ore', 'Minute', 'Secunde', ''],
             labelsShort: ['Ani', 'Luni', 'Zile', 'Ore', 'Min.', 'Sec.', ''],
             startText: 'Start',
             stopText: 'Stop',
             resetText: 'Resetare',
             lapText: 'Tură',
             hideText: 'Ascundere',
             backText: 'Înapoi',
             undoText: 'Anulează',
             offText: 'Nu',
             onText: 'Da',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n['ru-UA'] = {
             setText: 'Установить',
             cancelText: 'Отменить',
             clearText: 'Очиститьr',
             selectedText: '{count} Вібрать',
             dateFormat: 'dd.mm.yy',
             dayNames: ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'],
             dayNamesShort: ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],
             dayNamesMin: ['в', 'п', 'в', 'с', 'ч', 'п', 'с'],
             dayText: 'День',
             delimiter: '.',
             hourText: 'Часы',
             minuteText: 'Минуты',
             monthNames: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'],
             monthNamesShort: ['Янв.', 'Февр.', 'Март', 'Апр.', 'Май', 'Июнь', 'Июль', 'Авг.', 'Сент.', 'Окт.', 'Нояб.', 'Дек.'],
             monthText: 'Месяцы',
             secText: 'Сикунды',
             timeFormat: 'HH:ii',
             yearText: 'Год',
             nowText: 'Сейчас',
             amText: 'am',
             pmText: 'pm',
             todayText: 'Cегодня',
             firstDay: 1,
             dateText: 'Дата',
             timeText: 'Время',
             calendarText: 'Календарь',
             closeText: 'Закрыть',
             fromText: 'Начало',
             toText: 'Конец',
             wholeText: 'Весь',
             fractionText: 'Часть',
             unitText: 'Единица',
             labels: ['Годы', ' Месяцы ', ' Дни ', ' Часы ', ' Минуты ', ' Секунды', ''],
             labelsShort: ['Год', 'Мес.', 'Дн.', 'Ч.', 'Мин.', 'Сек.', ''],
             startText: 'Старт',
             stopText: 'Стоп',
             resetText: ' Сброс ',
             lapText: ' Этап ',
             hideText: ' Скрыть ',
             backText: 'назад',
             undoText: 'ОтменитЬ',
             offText: 'O',
             onText: 'I',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n['ru-RU'] = L9s.i18n.ru = {
             setText: 'Установить',
             cancelText: 'Отмена',
             clearText: 'Очистить',
             selectedText: '{count} Выбрать',
             dateFormat: 'dd.mm.yy',
             dayNames: ['воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота'],
             dayNamesShort: ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],
             dayNamesMin: ['в', 'п', 'в', 'с', 'ч', 'п', 'с'],
             dayText: 'День',
             delimiter: '.',
             hourText: 'Час',
             minuteText: 'Минут',
             monthNames: ['Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'],
             monthNamesShort: ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек'],
             monthText: 'Месяц',
             secText: 'Секунд',
             timeFormat: 'HH:ii',
             yearText: 'Год',
             nowText: 'Сейчас',
             amText: 'am',
             pmText: 'pm',
             todayText: 'Cегодня',
             firstDay: 1,
             dateText: 'Дата',
             timeText: 'Время',
             calendarText: 'Календарь',
             closeText: 'Закрыть',
             fromText: 'Начало',
             toText: 'Конец',
             wholeText: 'Целое',
             fractionText: 'Дробное',
             unitText: 'Единица',
             labels: ['Лет', 'Месяцев', 'Дней', 'Часов', 'Минут', 'Секунд', ''],
             labelsShort: ['Лет', 'Мес', 'Дн', 'Час', 'Мин', 'Сек', ''],
             startText: 'Старт',
             stopText: 'Стоп',
             resetText: 'Сбросить',
             lapText: 'Круг',
             hideText: 'Скрыть',
             backText: 'назад',
             undoText: 'ОтменитЬ',
             offText: 'O',
             onText: 'I',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n.sk = {
             setText: 'Zadaj',
             cancelText: 'Zrušiť',
             clearText: 'Vymazať',
             selectedText: 'Označený: {count}',
             dateFormat: 'd.m.yy',
             dayNames: ['Nedeľa', 'Pondelok', 'Utorok', 'Streda', 'Štvrtok', 'Piatok', 'Sobota'],
             dayNamesShort: ['Ne', 'Po', 'Ut', 'St', 'Št', 'Pi', 'So'],
             dayNamesMin: ['N', 'P', 'U', 'S', 'Š', 'P', 'S'],
             dayText: 'Ďeň',
             hourText: 'Hodiny',
             minuteText: 'Minúty',
             monthNames: ['Január', 'Február', 'Marec', 'Apríl', 'Máj', 'Jún', 'Júl', 'August', 'September', 'Október', 'November', 'December'],
             monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Máj', 'Jún', 'Júl', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'],
             monthText: 'Mesiac',
             secText: 'Sekundy',
             timeFormat: 'H:ii',
             yearText: 'Rok',
             nowText: 'Teraz',
             amText: 'am',
             pmText: 'pm',
             todayText: 'Dnes',
             firstDay: 1,
             dateText: 'Datum',
             timeText: 'Čas',
             calendarText: 'Kalendár',
             closeText: 'Zavrieť',
             fromText: 'Začiatok',
             toText: 'Koniec',
             wholeText: 'Celý',
             fractionText: 'Časť',
             unitText: 'Jednotka',
             labels: ['Roky', 'Mesiace', 'Dni', 'Hodiny', 'Minúty', 'Sekundy', ''],
             labelsShort: ['Rok', 'Mes', 'Dni', 'Hod', 'Min', 'Sec', ''],
             startText: 'Start',
             stopText: 'Stop',
             resetText: 'Resetovať',
             lapText: 'Etapa',
             hideText: 'Schovať',
             backText: 'Späť',
             undoText: 'Späť',
             offText: 'O',
             onText: 'I',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         L9s.i18n.sv = {
             setText: 'OK',
             cancelText: 'Avbryt',
             clearText: 'Klara',
             selectedText: '{count} vald',
             dateFormat: 'yy-mm-dd',
             dayNames: ['Söndag', 'Måndag', 'Tisdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lördag'],
             dayNamesShort: ['Sö', 'Må', 'Ti', 'On', 'To', 'Fr', 'Lö'],
             dayNamesMin: ['S', 'M', 'T', 'O', 'T', 'F', 'L'],
             dayText: 'Dag',
             hourText: 'Timme',
             minuteText: 'Minut',
             monthNames: ['Januari', 'Februari', 'Mars', 'April', 'Maj', 'Juni', 'Juli', 'Augusti', 'September', 'Oktober', 'November', 'December'],
             monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'],
             monthText: 'Månad',
             secText: 'Sekund',
             timeFormat: 'HH:ii',
             yearText: 'År',
             nowText: 'Nu',
             pmText: 'pm',
             amText: 'am',
             todayText: 'I dag',
             firstDay: 1,
             dateText: 'Datum',
             timeText: 'Tid',
             calendarText: 'Kalender',
             closeText: 'Stäng',
             fromText: 'Start',
             toText: 'Slut',
             wholeText: 'Hela',
             fractionText: 'Bråk',
             unitText: 'Enhet',
             labels: ['År', 'Månader', 'Dagar', 'Timmar', 'Minuter', 'Sekunder', ''],
             labelsShort: ['År', 'Mån', 'Dag', 'Tim', 'Min', 'Sek', ''],
             startText: 'Start',
             stopText: 'Stopp',
             resetText: 'Återställ',
             lapText: 'Varv',
             hideText: 'Dölj',
             backText: 'Tillbaka',
             undoText: 'Ångra',
             offText: 'Av',
             onText: 'På'
         };
         L9s.i18n.tr = {
             setText: 'Seç',
             cancelText: 'İptal',
             clearText: 'Temizleyin',
             selectedText: '{count} seçilmiş',
             dateFormat: 'dd.mm.yy',
             dayNames: ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'],
             dayNamesShort: ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'],
             dayNamesMin: ['P', 'P', 'S', 'Ç', 'P', 'C', 'C'],
             dayText: 'Gün',
             delimiter: '.',
             hourText: 'Saat',
             minuteText: 'Dakika',
             monthNames: ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'],
             monthNamesShort: ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'],
             monthText: 'Ay',
             secText: 'Saniye',
             timeFormat: 'HH:ii',
             yearText: 'Yıl',
             nowText: 'Şimdi',
             pmText: 'pm',
             amText: 'am',
             todayText: 'Bugün',
             firstDay: 1,
             dateText: 'Tarih',
             timeText: 'Zaman',
             calendarText: 'Takvim',
             closeText: 'Kapatmak',
             fromText: 'Başla',
             toText: 'Son',
             wholeText: 'Tam',
             fractionText: 'Kesir',
             unitText: 'Birim',
             labels: ['Yıl', 'Ay', 'Gün', 'Saat', 'Dakika', 'Saniye', ''],
             labelsShort: ['Yıl', 'Ay', 'Gün', 'Sa', 'Dak', 'Sn', ''],
             startText: 'Başla',
             stopText: 'Durdur',
             resetText: 'Sıfırla',
             lapText: 'Tur',
             hideText: 'Gizle',
             backText: 'Geri',
             undoText: 'Geri Al',
             offText: 'O',
             onText: 'I',
             decimalSeparator: ',',
             thousandsSeparator: '.'
         };
         L9s.i18n.zh = {
             setText: '确定',
             cancelText: '取消',
             clearText: '明确',
             selectedText: '{count} 选',
             dateFormat: 'yy/mm/dd',
             dayNames: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
             dayNamesShort: ['日', '一', '二', '三', '四', '五', '六'],
             dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
             dayText: '日',
             hourText: '时',
             minuteText: '分',
             monthNames: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
             monthNamesShort: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'],
             monthText: '月',
             secText: '秒',
             timeFormat: 'HH:ii',
             yearText: '年',
             nowText: '当前',
             pmText: '下午',
             amText: '上午',
             todayText: '今天',
             dateText: '日',
             timeText: '时间',
             calendarText: '日历',
             closeText: '关闭',
             fromText: '开始时间',
             toText: '结束时间',
             wholeText: '合计',
             fractionText: '分数',
             unitText: '单位',
             labels: ['年', '月', '日', '小时', '分钟', '秒', ''],
             labelsShort: ['年', '月', '日', '点', '分', '秒', ''],
             startText: '开始',
             stopText: '停止',
             resetText: '重置',
             lapText: '圈',
             hideText: '隐藏',
             backText: '背部',
             undoText: '复原',
             offText: '关闭',
             onText: '开启',
             decimalSeparator: ',',
             thousandsSeparator: ' '
         };
         (function() {
             var x8B = L9s,
                 I8B = x8B.themes,
                 i8B = x8B.$;
             I8B.frame['android-holo'] = {};
             I8B.scroller['android-holo'] = i8B.extend({}, I8B.frame['android-holo'], {
                 dateDisplay: 'Mddyy',
                 rows: 5,
                 minWidth: 76,
                 height: 36,
                 showLabel: false,
                 selectedLineHeight: true,
                 selectedLineBorder: 2,
                 useShortLabels: true,
                 icon: {
                     filled: 'star3',
                     empty: 'star'
                 },
                 btnPlusClass: 'mbsc-ic mbsc-ic-arrow-down6',
                 btnMinusClass: 'mbsc-ic mbsc-ic-arrow-up6'
             });
             I8B.form['android-holo'] = {};
         }());
         (function() {
             var v8B = L9s,
                 O8B = v8B.themes,
                 m8B = v8B.$;
             O8B.frame.bootstrap = {
                 disabledClass: 'disabled',
                 activeClass: 'btn-primary',
                 activeTabClass: 'active',
                 todayClass: 'text-primary',
                 onMarkupInserted: function(C8B) {
                     var R8B = m8B(C8B.target);
                     m8B('.mbsc-fr-popup', R8B).addClass('popover');
                     m8B('.mbsc-fr-w', R8B).addClass('popover-content');
                     m8B('.mbsc-fr-hdr', R8B).addClass('popover-title');
                     m8B('.mbsc-fr-arr-i', R8B).addClass('popover');
                     m8B('.mbsc-fr-arr', R8B).addClass('arrow');
                     m8B('.mbsc-fr-btn', R8B).addClass('btn btn-default');
                     m8B('.mbsc-fr-btn-s .mbsc-fr-btn', R8B).removeClass('btn-default').addClass('btn btn-primary');
                     m8B('.mbsc-sc-btn-plus', R8B).addClass('glyphicon glyphicon-chevron-down');
                     m8B('.mbsc-sc-btn-minus', R8B).addClass('glyphicon glyphicon-chevron-up');
                     m8B('.mbsc-cal-next .mbsc-cal-btn-txt', R8B).prepend('<i class="glyphicon glyphicon-chevron-right"></i>');
                     m8B('.mbsc-cal-prev .mbsc-cal-btn-txt', R8B).prepend('<i class="glyphicon glyphicon-chevron-left"></i>');
                     m8B('.mbsc-cal-tabs ul', R8B).addClass('nav nav-tabs');
                     m8B('.mbsc-cal-sc-c', R8B).addClass('popover');
                     m8B('.mbsc-cal-week-nrs-c', R8B).addClass('popover');
                     m8B('.mbsc-cal-events', R8B).addClass('popover');
                     m8B('.mbsc-cal-events-arr', R8B).addClass('arrow');
                     m8B('.mbsc-range-btn', R8B).addClass('btn btn-sm btn-small btn-default');
                     m8B('.mbsc-np-btn', R8B).addClass('btn btn-default');
                     m8B('.mbsc-sel-filter-cont', R8B).removeClass('mbsc-input');
                     m8B('.mbsc-sel-filter-input', R8B).addClass('form-control');
                 },
                 onPosition: function(U8B) {
                     setTimeout(function() {
                         m8B('.mbsc-fr-bubble-top, .mbsc-fr-bubble-top .mbsc-fr-arr-i', U8B.target).removeClass('bottom').addClass('top');
                         m8B('.mbsc-fr-bubble-bottom, .mbsc-fr-bubble-bottom .mbsc-fr-arr-i', U8B.target).removeClass('top').addClass('bottom');
                     }, 10);
                 }
             };
             O8B.scroller.bootstrap = m8B.extend({}, O8B.frame.bootstrap, {
                 dateDisplay: 'Mddyy',
                 btnCalPrevClass: '',
                 btnCalNextClass: '',
                 selectedLineHeight: true,
                 onEventBubbleShow: function(q8B) {
                     var W8B = m8B(q8B.eventList);
                     m8B('.mbsc-cal-event-list', W8B).addClass('list-group');
                     m8B('.mbsc-cal-event', W8B).addClass('list-group-item');
                     setTimeout(function() {
                         if (W8B.hasClass('mbsc-cal-events-b')) {
                             W8B.removeClass('top').addClass('bottom');
                         } else {

                             W8B.removeClass('bottom').addClass('top');
                         }
                     }, 10);
                 }
             });
             O8B.menustrip.bootstrap = {
                 wrapperClass: 'popover panel panel-default',
                 groupClass: 'btn-group',
                 activeClass: 'btn-primary',
                 disabledClass: 'disabled',
                 itemClass: 'btn btn-default'
             };
         }());
         (function() {
             var g8B = L9s,
                 S8B = g8B.themes,
                 D7B = g8B.$;
             S8B.frame.ios = {
                 display: 'bottom',
                 headerText: false,
                 btnWidth: false,
                 deleteIcon: 'ios-backspace',
                 scroll3d: true
             };
             S8B.scroller.ios = D7B.extend({}, S8B.frame.ios, {
                 rows: 5,
                 height: 34,
                 minWidth: 55,
                 selectedLineHeight: true,
                 selectedLineBorder: 1,
                 showLabel: false,
                 useShortLabels: true,
                 btnPlusClass: 'mbsc-ic mbsc-ic-arrow-down5',
                 btnMinusClass: 'mbsc-ic mbsc-ic-arrow-up5',
                 checkIcon: 'ion-ios7-checkmark-empty',
                 filterClearIcon: 'ion-close-circled',
                 dateDisplay: 'MMdyy',
                 btnCalPrevClass: 'mbsc-ic mbsc-ic-arrow-left5',
                 btnCalNextClass: 'mbsc-ic mbsc-ic-arrow-right5'
             });
             S8B.listview.ios = {
                 leftArrowClass: 'mbsc-ic-ion-ios7-arrow-back',
                 rightArrowClass: 'mbsc-ic-ion-ios7-arrow-forward'
             };
             S8B.form.ios = {};
         }());
         (function() {
             var a7B = L9s,
                 J7B = a7B.themes,
                 b7B = a7B.$;
             J7B.frame.jqm = {
                 jqmBody: 'a',
                 jqmBorder: 'a',
                 jqmLine: 'b',
                 jqmSet: 'b',
                 jqmCancel: 'c',
                 disabledClass: 'ui-disabled',
                 activeClass: 'ui-btn-active',
                 activeTabInnerClass: 'ui-btn-active',
                 onInit: function() {
                     b7B(this).closest('.ui-field-contain').trigger('create');
                 },
                 onMarkupInserted: function(B7B, Y7B) {
                     var p7B = Y7B.settings,
                         s7B = b7B(B7B.target);
                     b7B('.mbsc-np-btn, .mbsc-cal-sc-m-cell .mbsc-cal-sc-cell-i', s7B).addClass('ui-btn');
                     b7B('.mbsc-fr-btn-cont .mbsc-fr-btn, .mbsc-range-btn', s7B).addClass('ui-btn ui-mini ui-corner-all');
                     b7B('.mbsc-cal-prev .mbsc-cal-btn-txt', s7B).addClass('ui-btn ui-icon-arrow-l ui-btn-icon-notext ui-shadow ui-corner-all');
                     b7B('.mbsc-cal-next .mbsc-cal-btn-txt', s7B).addClass('ui-btn ui-icon-arrow-r ui-btn-icon-notext ui-shadow ui-corner-all');
                     b7B('.mbsc-fr-popup', s7B).removeClass('dwbg').addClass('ui-selectmenu ui-overlay-shadow ui-corner-all ui-body-' + p7B.jqmBorder);
                     b7B('.mbsc-fr-btn-s .mbsc-fr-btn', s7B).addClass('ui-btn-' + p7B.jqmSet);
                     b7B('.mbsc-fr-hdr', s7B).addClass('ui-header ui-bar-inherit');
                     b7B('.mbsc-fr-w', s7B).addClass('ui-corner-all ui-body-' + p7B.jqmBody);
                     b7B('.mbsc-sc-btn', s7B).addClass('ui-btn ui-mini ui-corner-all ui-btn-icon-top');
                     b7B('.mbsc-sc-btn-plus', s7B).addClass('ui-icon-carat-d');
                     b7B('.mbsc-sc-btn-minus', s7B).addClass('ui-icon-carat-u');
                     b7B('.mbsc-sc-whl-l', s7B).addClass('ui-body-' + p7B.jqmLine);
                     b7B('.mbsc-cal-tabs', s7B).attr('data-role', 'navbar');
                     b7B('.mbsc-cal-prev .mbsc-cal-btn-txt', s7B).attr('data-role', 'button').attr('data-icon', 'arrow-l').attr('data-iconpos', 'notext');
                     b7B('.mbsc-cal-next .mbsc-cal-btn-txt', s7B).attr('data-role', 'button').attr('data-icon', 'arrow-r').attr('data-iconpos', 'notext');
                     b7B('.mbsc-cal-events', s7B).attr('data-role', 'page');
                     b7B('.mbsc-range-btn', s7B).attr('data-role', 'button').attr('data-mini', 'true');
                     b7B('.mbsc-np-btn', s7B).attr('data-role', 'button').attr('data-corners', 'false');
                     s7B.trigger('create');
                 }
             };
             J7B.scroller.jqm = b7B.extend({}, J7B.frame.jqm, {
                 dateDisplay: 'Mddyy',
                 onEventBubbleShow: function(f7B) {
                     b7B('.mbsc-cal-event-list', f7B.eventList).attr('data-role', 'listview');
                     b7B(f7B.eventList).page().trigger('create');
                 },
                 btnCalPrevClass: '',
                 btnCalNextClass: '',
                 selectedLineHeight: true,
                 selectedLineBorder: 1,
                 checkIcon: 'none ui-btn-icon-left ui-icon-check',
                 onThemeLoad: function(K7B) {
                     var G7B = K7B.settings,
                         y7B = G7B.jqmBody || 'c',
                         z7B = G7B.jqmEventBubble || 'a';
                     G7B.dayClass = 'ui-body-a ui-body-' + y7B;
                     G7B.innerDayClass = 'ui-state-default ui-btn ui-btn-up-' + y7B;
                     G7B.calendarClass = 'ui-body-a ui-body-' + y7B;
                     G7B.weekNrClass = 'ui-body-a ui-body-' + y7B;
                     G7B.eventBubbleClass = 'ui-body-' + z7B;
                 }
             });
             J7B.listview.jqm = {
                 handleClass: 'ui-btn ui-icon-bars ui-btn-up-c ui-btn-icon-notext ui-icon-shadow ui-corner-all ui-btn-corner-all',
                 handleMarkup: '<span class="ui-btn-inner mbsc-lv-handle"><span class="ui-icon ui-icon-bars ui-icon-shadow mbsc-lv-handle">&nbsp;</span></span>',
                 leftArrowClass: 'ui-btn-icon-left ui-icon-carat-l',
                 rightArrowClass: 'ui-btn-icon-right ui-icon-carat-r',
                 onInit: function() {
                     b7B(this).closest('.mbsc-lv-cont').addClass(b7B(this).data('inset') ? 'mbsc-lv-jqm-inset' : '').find('.mbsc-lv-dummy, .mbsc-lv-fixed-header').addClass('ui-listview');
                     b7B('ul,ol', this).listview('refresh');
                 },
                 onItemAdd: function(o7B) {
                     var h7B = b7B(o7B.target).parent();
                     if (h7B.hasClass('ui-listview')) {
                         h7B.listview('refresh');
                     } else {
                         h7B.listview();
                     }
                 },
                 onSortUpdate: function(d7B) {
                     b7B(d7B.target).parent().listview('refresh');
                 }
             };
             J7B.menustrip.jqm = {
                 activeClass: 'ui-btn-active',
                 disabledClass: 'ui-state-disabled',
                 onThemeLoad: function(N7B) {
                     var E7B = N7B.settings,
                         e7B = E7B.jqmSwatch || 'a';
                     E7B.itemClass = 'ui-btn ui-btn-up-' + e7B;
                     E7B.wrapperClass = 'ui-bar-' + e7B;
                 }
             };
         }());
         (function() {
             function L7B(v7B, i7B, R7B, C7B) {
                 var m7B, O7B;
                 v7B.off('.mbsc-ripple').on('touchstart.mbsc-ripple mousedown.mbsc-ripple', i7B, function(U7B) {
                     if (r7B(U7B, this)) {
                         m7B = k7B(U7B, 'X');
                         O7B = k7B(U7B, 'Y');
                         Q7B = j7B(this);
                         if (!Q7B.hasClass(R7B) && !Q7B.hasClass(C7B)) {
                             A7B(Q7B, U7B);
                         } else {
                             Q7B = null;
                         }
                     }
                 }).on('touchmove.mbsc-ripple mousemove.mbsc-ripple', i7B, function(W7B) {
                     if (Q7B && Math.abs(k7B(W7B, 'X') - m7B) > 9 || Math.abs(k7B(W7B, 'Y') - O7B) > 9) {
                         l7B(H7B);
                         Q7B = null;
                     }
                 }).on('touchend.mbsc-ripple touchcancel.mbsc-ripple mouseleave.mbsc-ripple mouseup.mbsc-ripple', i7B, function() {
                     if (Q7B) {
                         setTimeout(function() {
                             l7B(H7B);
                         }, 100);
                         Q7B = null;
                     }
                 });
             }

             function l7B(x7B) {
                 setTimeout(function() {
                     if (x7B) {
                         x7B.removeClass('mbsc-ripple-visible');
                         setTimeout(function() {
                             x7B.remove();
                         }, 2000);
                     }
                 }, 100);
             }

             function A7B(t7B, F7B) {
                 var n7B = k7B(F7B, 'X', true),
                     V7B = k7B(F7B, 'Y', true),
                     M7B = t7B.offset(),
                     X7B = n7B - M7B.left,
                     P7B = V7B - M7B.top,
                     Z7B = Math.max(X7B, t7B[0].offsetWidth - X7B),
                     I7B = Math.max(P7B, t7B[0].offsetHeight - P7B),
                     T7B = 2 * Math.sqrt(Math.pow(Z7B, 2) + Math.pow(I7B, 2));
                 l7B(H7B);
                 H7B = j7B('<span class="mbsc-ripple"></span>').css({
                     width: T7B,
                     height: T7B,
                     top: V7B - M7B.top - T7B / 2,
                     left: n7B - M7B.left - T7B / 2
                 }).appendTo(t7B);
                 setTimeout(function() {
                     H7B.addClass('mbsc-ripple-scaled mbsc-ripple-visible');
                 }, 10);
             }
             var Q7B, H7B, u7B = L9s,
                 j7B = u7B.$,
                 w7B = u7B.themes,
                 c7B = u7B.util,
                 r7B = c7B.testTouch,
                 k7B = c7B.getCoord;
             w7B.frame.material = {
                 headerText: false,
                 btnWidth: false,
                 deleteIcon: 'material-backspace',
                 onMarkupReady: function(q7B) {
                     L7B(j7B(q7B.target), '.mbsc-fr-btn-e', 'mbsc-fr-btn-d', 'mbsc-fr-btn-nhl');
                 }
             };
             w7B.scroller.material = j7B.extend({}, w7B.frame.material, {
                 showLabel: false,
                 selectedLineBorder: 2,
                 weekDays: 'min',
                 icon: {
                     filled: 'material-star',
                     empty: 'material-star-outline'
                 },
                 checkIcon: 'material-check',
                 btnPlusClass: 'mbsc-ic mbsc-ic-material-keyboard-arrow-down',
                 btnMinusClass: 'mbsc-ic mbsc-ic-material-keyboard-arrow-up',
                 btnCalPrevClass: 'mbsc-ic mbsc-ic-material-keyboard-arrow-left',
                 btnCalNextClass: 'mbsc-ic mbsc-ic-material-keyboard-arrow-right',
                 onEventBubbleShow: function(b3B) {
                     var S7B = j7B(b3B.eventList),
                         g7B = j7B(b3B.target).closest('.mbsc-cal-row').index() < 2,
                         D3B = j7B('.mbsc-cal-event-color', S7B).eq(g7B ? 0 : -1).css('background-color');
                     j7B('.mbsc-cal-events-arr', S7B).css('border-color', g7B ? 'transparent transparent ' + D3B + ' transparent' : D3B + 'transparent transparent transparent');
                 }
             });
             w7B.listview.material = {
                 leftArrowClass: 'mbsc-ic-material-keyboard-arrow-left',
                 rightArrowClass: 'mbsc-ic-material-keyboard-arrow-right',
                 onItemActivate: function(J3B) {
                     A7B(j7B(J3B.target), J3B.domEvent);
                 },
                 onItemDeactivate: function() {
                     l7B(H7B);
                 },
                 onSlideStart: function(a3B) {
                     j7B('.mbsc-ripple', a3B.target).remove();
                 },
                 onSortStart: function(s3B) {
                     j7B('.mbsc-ripple', s3B.target).remove();
                 }
             };
             w7B.menustrip.material = {
                 onInit: function() {
                     L7B(j7B(this), '.mbsc-ms-item', 'mbsc-btn-d', 'mbsc-btn-nhl');
                 },
                 onMarkupInit: function() {
                     j7B('.mbsc-ripple', this).remove();
                 },
                 onDestroy: function() {
                     j7B(this).off('.mbsc-ripple');
                 }
             };
             w7B.form.material = {
                 onControlActivate: function(Y3B) {
                     var B3B, p3B = j7B(Y3B.target);
                     if (p3B[0].type == 'button' || p3B[0].type == 'submit') {
                         B3B = p3B;
                     }
                     if (p3B.attr('data-role') == 'segmented') {
                         B3B = p3B.next();
                     }
                     if (p3B.hasClass('mbsc-stepper-control') && !p3B.hasClass('mbsc-step-disabled')) {
                         B3B = p3B.find('.mbsc-segmented-content');
                     }
                     if (B3B) {
                         A7B(B3B, Y3B.domEvent);
                     }
                 },
                 onControlDeactivate: function() {
                     l7B(H7B);
                 }
             };
         }());
         (function() {
             var y3B = L9s,
                 f3B = y3B.$,
                 G3B = y3B.themes;
             G3B.frame.wp = {
                 headerText: false,
                 deleteIcon: 'backspace4',
                 setIcon: 'checkmark',
                 cancelIcon: 'close',
                 closeIcon: 'close',
                 clearIcon: 'close',
                 okIcon: 'checkmark',
                 nowIcon: 'loop2',
                 startIcon: 'play3',
                 stopIcon: 'pause2',
                 resetIcon: 'stop2',
                 lapIcon: 'loop2',
                 btnWidth: false
             };
             G3B.scroller.wp = f3B.extend({}, G3B.frame.wp, {
                 minWidth: 76,
                 height: 76,
                 dateDisplay: 'mmMMddDDyy',
                 showLabel: false,
                 icon: {
                     filled: 'star3',
                     empty: 'star'
                 },
                 btnCalPrevClass: 'mbsc-ic mbsc-ic-arrow-left2',
                 btnCalNextClass: 'mbsc-ic mbsc-ic-arrow-right2',
                 btnPlusClass: 'mbsc-ic mbsc-ic-plus',
                 btnMinusClass: 'mbsc-ic mbsc-ic-minus',
                 onMarkupInserted: function(E3B, e3B) {
                     function N3B(j3B) {
                         return f3B.isArray(K3B.readonly) ? K3B.readonly[j3B] : K3B.readonly;
                     }
                     var z3B, h3B, d3B, o3B = f3B(E3B.target),
                         K3B = e3B.settings;
                     f3B('.mbsc-sc-whl', o3B).on('touchstart mousedown wheel mousewheel', function(Q3B) {
                         if (Q3B.type === 'mousedown' && h3B || N3B(f3B(this).attr('data-index'))) {
                             return;
                         }
                         h3B = Q3B.type === 'touchstart';
                         z3B = true;
                         d3B = f3B(this).hasClass('mbsc-sc-whl-wpa');
                         f3B('.mbsc-sc-whl', o3B).removeClass('mbsc-sc-whl-wpa');
                         f3B(this).addClass('mbsc-sc-whl-wpa');
                     }).on('touchmove mousemove', function() {
                         z3B = false;
                     }).on('touchend mouseup', function(k3B) {
                         if (z3B && d3B && f3B(k3B.target).closest('.mbsc-sc-itm').hasClass('mbsc-sc-itm-sel')) {
                             f3B(this).removeClass('mbsc-sc-whl-wpa');
                         }
                         if (k3B.type === 'mouseup') {
                             h3B = false;
                         }
                         z3B = false;
                     });
                 }
             });
             G3B.form.wp = {};
         }());
         L9s.customTheme('android-holo-light', 'android-holo');
         L9s.customTheme('ios-dark', 'ios');
         L9s.customTheme('material-dark', 'material');
         L9s.customTheme('mobiscroll-dark', 'mobiscroll');
         L9s.customTheme('wp-light', 'wp');
         (function() {
             var H3B, w3B = L9s,
                 l3B = w3B.platform,
                 u3B = w3B.themes,
                 A3B = w3B.$;
             if (l3B.name == 'android') {
                 H3B = l3B.majorVersion >= 5 ? 'material' : 'android-holo';
             } else if (l3B.name == 'ios') {
                 H3B = 'ios';
             } else if (l3B.name == 'wp') {
                 H3B = 'wp';
             }
             L9s.setAutoTheme = function() {
                 A3B.each(u3B.frame, function(c3B, L3B) {
                     if (L3B.baseTheme == H3B && c3B != 'android-holo-light' && c3B != 'material-dark' && c3B != 'wp-light' && c3B != 'ios-dark') {
                         w3B.autoTheme = c3B;
                         return false;
                     } else if (c3B == H3B) {
                         w3B.autoTheme = c3B;
                     }
                 });
             };
             L9s.setAutoTheme();
         }());
         return L9s;
     }(jQuery);
     return mobiscroll;
 }));